Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
stress
/
array-lastindexof-fast-path-effects.js
blob: a92651d29b89cf53f85a037928cb90cf3491d113 [
file
] [
log
] [
blame
]
// This shouldn't crash when running with ASAN.
let arr
=
[];
for
(
var
i
=
0
;
i
<
1000000
;
i
++)
arr
[
i
]
=
[];
arr
.
lastIndexOf
(
new
Object
(),
{
valueOf
:
function
()
{
arr
.
length
=
0
;
return
0
;
}
});