]> git.kaiwu.me - njs.git/commit
Simplified element access in Array.prototype.shift().
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 13 Jan 2022 18:30:31 +0000 (18:30 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 13 Jan 2022 18:30:31 +0000 (18:30 +0000)
commit3eadf4228a9f9dc4fc5f9bcc9c05d7f5a9084cf8
tree7da54cec90d912d197ad5afb3bae7e76de7b4c5c
parent1647226544b3775977d15c9d216fcecfd0c8474e
Simplified element access in Array.prototype.shift().

Previously, array structure may be left in inconsistent state
when a custom getter in a proto array changes array size.

The change is similar to the previous commits.
src/njs_array.c