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