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