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