]> git.kaiwu.me - njs.git/commit
Fixed Function constructor handling when called without arguments.
authorVadim Zhestikov <v.zhestikov@f5.com>
Tue, 2 Jul 2024 21:55:03 +0000 (14:55 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Sat, 6 Jul 2024 01:27:09 +0000 (18:27 -0700)
commitb593dd4aba0f5c730c1d90072cdee7dd9a93beed
tree82f06c4533cf9bb1f69168418b5222f4fe9e0e11
parent7dda4b2ff1fe605e8d7b2723a0b855d43fe101a8
Fixed Function constructor handling when called without arguments.

Corrected the behavior of Function.constructor() when invoked without arguments
relative to an object.
src/njs_function.c
src/test/njs_unit_test.c