Sign in
webkit
/
WebKit
/
30a5e34d4b4ae5c538351fb44071193b8b4718f1
/
.
/
LayoutTests
/
js
/
script-tests
/
string-slice-abnormal-values.js
blob: 8ad39d9d0f58bcd800a76000b7c2e02be4702154 [
file
] [
log
] [
blame
]
description
(
"This test checks for handling of abnormal values passed to String.slice"
);
shouldBe
(
'"abc".slice(0)'
,
'"abc"'
);
shouldBe
(
'"abc".slice(0, Infinity)'
,
'"abc"'
);