]> git.kaiwu.me - njs.git/commit
Native methods and non-constructor functions must throw
authorIgor Sysoev <igor@sysoev.ru>
Tue, 15 Nov 2016 14:43:05 +0000 (17:43 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 15 Nov 2016 14:43:05 +0000 (17:43 +0300)
commitaa246eb2b406b8d537823c56550e129f2e0a9203
tree681c5e23a33ef9dfa3612c46587cd45908cf550e
parente541e92190904c702f476779e970ccf8610c50db
Native methods and non-constructor functions must throw
TypeError exception if they are called as constructor.
njs/njs_builtin.c
njs/njs_vm.c
njs/njs_vm.h
njs/test/njs_unit_test.c