Sign in
webkit
/
WebKit
/
12864227cb251a3c69a557d29203db2a9fb0afc2
/
.
/
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
();
}