]> git.kaiwu.me - njs.git/commit
Fixed Array.prototype.map() for a object with nonexistent values.
authorAlexander Borisov <alexander.borisov@nginx.com>
Mon, 30 Sep 2019 08:41:00 +0000 (11:41 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Mon, 30 Sep 2019 08:41:00 +0000 (11:41 +0300)
commit135c69517737b46d9af5e538a2e70a5ed256d36c
treeb75f54ee8d4213208d002902ed783128d16ed49d
parent985ec58dd822c0a512ec851d69028d89009102bd
Fixed Array.prototype.map() for a object with nonexistent values.

Previously nonexistent values in the object were skipped and not added
to the result.
src/njs_array.c
src/test/njs_unit_test.c