Description[esnext] implement StringPad spec changes from March TC39 meeting
Return the empty string from StringPad if the filler argument is the empty
string, effectively returning the string unchanged in StringPadStart and
StringPadEnd.
```
"foo".padStart(100000, "") -> "foo"
```
BUG=v8:4957, v8:4954
LOG=N
R=littledan@chromium.org
Committed: https://crrev.com/ff956f4dee0a7c5b50916e04e02444e46931ce7e
Cr-Commit-Position: refs/heads/master@{#35837}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|