Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrays
/
too-long-array-splice.js
blob: 7e3f9386c8e3f00e1d6805bf0e88bf6a53e087f5 [
file
] [
log
] [
blame
]
// |jit-test| allow-oom
// array.splice should throw if array.length is too large.
var
length
=
4294967295
;
var
array
=
new
Array
(
length
);
array
.
splice
(
100
);