Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
varargs-forwarding-can-see-arguments-mov-hint-to-for-of-tmp.js
blob: da107776c407b567217d052e5fb99cfb2e7053ab [
file
] [
log
] [
blame
]
// This should not crash.
let iter
=
{
[
Symbol
.
iterator
]:
()
=>
{
return
{
next
:
function
()
{
return
arguments
;
}
};
}
}
let i
=
0
;
for
(
let x of iter
)
{
i
++;
if
(
i
>=
4000
)
break
;
}