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