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