Sign in
webkit
/
WebKit
/
34f5efbbe2903324708c7d6f83220e30b3f6ddd8
/
.
/
JSTests
/
stress
/
for-of-done-getter-materialize-bottom-late.js
blob: 3d08bc9a3fac15c0decb2fc12fee48b15e9743a1 [
file
] [
log
] [
blame
]
let i
=
10000
;
let d
=
{
get
done
()
{
if
(
i
%
5000
==
0
)
i
--;
return
!(--
i
);
}
};
let x
=
{
next
:
()=>
d
}
let iter
=
{};
iter
[
Symbol
.
iterator
]
=
()=>
x
;
for
(
let x of iter
)
{}