Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
closures
/
incr-exit.js
blob: 34888b5252707747e84fc721eca480b7763f49d1 [
file
] [
log
] [
blame
]
actual
=
''
;
expected
=
'ddd,'
;
// Bug 508187
{
let f
=
function
(
y
)
{
{
let ff
=
function
(
g
)
{
for
each
(
let h in g
)
{
if
(++
y
>
5
)
{
appendToActual
(
'ddd'
)
}
}
};
ff
([
''
,
null
,
''
,
false
,
''
,
''
,
null
])
}
};
f
(-
1
)
}
assertEq
(
actual
,
expected
)