]> git.kaiwu.me - njs.git/commit
Fixed Function constructor according to the spec.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 21 Jan 2020 13:01:45 +0000 (16:01 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 21 Jan 2020 13:01:45 +0000 (16:01 +0300)
commit008d70f1b938ac6b52e2956bf57ad846b33010ed
tree43cb54a5956d2ec7f44ad842ef3397e80d2194fe
parent1e9f7f506472cb7f1ae218681b319bdd279bb1ec
Fixed Function constructor according to the spec.

"this" value should point to the global object.
src/njs.h
src/njs_function.c
src/njs_value.h
src/test/njs_unit_test.c
test/njs_expect_test.exp