goja: String split with an empty separator splits emoji into one piece instead of two

Fixed · medium · Wrong-result bug

An empty separator makes split count characters outside the BMP as one element instead of two UTF-16 code units. The split length then disagrees with the string's own length.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Open in the showcase. Record generated .