Skip to content

jscript: Fix JSON.stringify for arrays longer than 10.

We've been passing ARRAY_SIZE() (equal to 16 in this case) as a radix to _itow(). This has caused us trying to get "a" instead of "10", etc. which resulted in unexpected nulls being interspersed in long arrays as well as the arrays being cut short.

Merge request reports

Loading