diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2022-09-15 20:20:10 -0700 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2022-09-15 20:20:10 -0700 |
commit | e9eab88f05319ab5a7c7c6aa0165bcf53aedeadf (patch) | |
tree | a06a36d9ca056b1e368bd336582796ff47ffbf89 /nginx/ngx_http_js_module.c | |
parent | 2f585c83ce424553be466ed41490990371a141f3 (diff) | |
download | njs-e9eab88f05319ab5a7c7c6aa0165bcf53aedeadf.tar.gz njs-e9eab88f05319ab5a7c7c6aa0165bcf53aedeadf.zip |
Fixed property set instruction when key modifies base binding.
Previously, when obj[prop] expression was evaluated, and prop was an
object with custom "toString" method, which modifies obj binding as its
side-effect, the binding update was visible to property set instruction
which is not correct.
This closes #550 issue on Github.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
0 files changed, 0 insertions, 0 deletions