Commit bfe9e11
Revert String.prototype.split's to ES5 behavior
ES2015 changed the handling of the second argument to split()
to use ToLength for coercion, which causes problems for callers
that pass -1. As discussed at the July 2015 meeting, the committee
agreed to return to the ES5 behavior.
See https://bugs.ecmascript.org/show_bug.cgi?id=4432 for more details.1 parent a3ced3c commit bfe9e11
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27390 | 27390 | | |
27391 | 27391 | | |
27392 | 27392 | | |
27393 | | - | |
| 27393 | + | |
27394 | 27394 | | |
27395 | 27395 | | |
27396 | 27396 | | |
| |||
0 commit comments