jerryscript icon indicating copy to clipboard operation
jerryscript copied to clipboard

The skipping of null values during array processing has been removed

Open happy-boy-maker opened this issue 6 months ago • 2 comments

This patch fixes https://github.com/jerryscript-project/jerryscript/issues/5026 Signevior of skipping null values during array processing, which was inconsistent with the mainstream js engine behavior, has been removed.

JerryScript-DCO-1.0-Signed-off-by: tangbin [email protected]

happy-boy-maker avatar Jul 22 '25 06:07 happy-boy-maker

Was the old code an optimization, which is not working anymore?

zherczeg avatar Jul 22 '25 16:07 zherczeg

Apart from code format errors, no new issues have been introduced in ci. The deleted code seems to skip whenever an empty value is encountered during the array processing, without any further purpose.

happy-boy-maker avatar Jul 23 '25 02:07 happy-boy-maker