blob: a585b4c06032af1fc73592e6217b10a40dc9aff7 [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"');
var successfullyParsed = true;