Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
closures
/
bug496922.js
blob: a0aeca1d2684d69f19eef5c3ebdd564b3d357f16 [
file
] [
log
] [
blame
]
actual
=
''
;
expected
=
'0,0,1,1,2,2,3,3,'
;
v
=
0
{
let f
=
function
()
{
for
(
let x
=
0
;
x
<
4
;
++
x
)
{
v
>>
x
;
(
function
()
{
for
(
let y
=
0
;
y
<
2
;
++
y
)
{
appendToActual
(
x
)
}
})()
}
};
(
function
()
{})()
f
(
v
)
}
assertEq
(
actual
,
expected
)