summaryrefslogtreecommitdiff
path: root/test/binaryen.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-03-21 10:07:12 -0700
committerGitHub <noreply@github.com>2024-03-21 10:07:12 -0700
commitb1535dac8f544c5000c136d696738a27fc931660 (patch)
tree9fdf54a2135198b1d2068a697554e1136f951291 /test/binaryen.js
parent32e7f19f430a0f3c5c66d15333c0956de1e4615e (diff)
downloadbinaryen-b1535dac8f544c5000c136d696738a27fc931660.tar.gz
binaryen-b1535dac8f544c5000c136d696738a27fc931660.tar.bz2
binaryen-b1535dac8f544c5000c136d696738a27fc931660.zip
[Strings] Fix StringSlice end computation (#6414)
Like JS string slicing, if the end index is out of bounds that is fine, we clamp to the end. This also matches the behavior in V8 and the spec.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions