Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
nestedExitLoop.js
blob: fffc8573bd5bf76fb28c74ebf860419e95f02f2c [
file
] [
log
] [
blame
]
function
nestedExit
(
x
)
{
var
q
=
0
;
for
(
var
i
=
0
;
i
<
10
;
++
i
)
{
if
(
x
)
++
q
;
}
}
function
nestedExitLoop
()
{
for
(
var
j
=
0
;
j
<
10
;
++
j
)
nestedExit
(
j
<
7
);
return
"ok"
;
}
assertEq
(
nestedExitLoop
(),
"ok"
);