Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testContinueWithLabel.js
blob: b851b41de8753d05214c52ea70de55ba64bab279 [
file
] [
log
] [
blame
]
function
testContinueWithLabel
()
{
var
i
=
0
;
var
j
=
20
;
checkiandj
:
while
(
i
<
10
)
{
i
+=
1
;
checkj
:
while
(
j
>
10
)
{
j
-=
1
;
if
((
j
%
2
)
==
0
)
continue
checkj
;
}
}
return
i
+
j
;
}
assertEq
(
testContinueWithLabel
(),
20
);