Sign in
webkit
/
WebKit
/
34573b4327f502983405341f6edd2f8dcbc2cb0c
/
.
/
JSTests
/
stress
/
for-of-bad-internal-field-hoist.js
blob: 3732beb8b0b1f650b0eb21724f18988852c57076 [
file
] [
log
] [
blame
]
//@ requireOptions("--maximumFunctionForCallInlineCandidateBytecodeCost=500")
function
foo
()
{
let x
=
''
for
(
let j
=
0
;
j
<
10
;
j
++)
{
for
(
const
y of x
)
{}
x
=
[
0
]
}
}
for
(
let i
=
0
;
i
<
100000
;
i
++)
{
foo
();
}