Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
array-lastindexof-fast-path-effects.js
blob: 3e82ed80c5b326acbe3b6f469a2db804c3f19a4c [
file
] [
edit
]
// This shouldn't crash when running with ASAN.
let arr
=
[];
for
(
var
i
=
0
;
i
<
testLoopCount
;
i
++)
arr
[
i
]
=
[];
arr
.
lastIndexOf
(
new
Object
(),
{
valueOf
:
function
()
{
arr
.
length
=
0
;
return
0
;
}
});