Sign in
apache
/
casbin-jcasbin-aviatorscript
/
refs/heads/stable
/
.
/
src
/
test
/
resources
/
scripts
/
while8.av
blob: d1c9aaebd6aca2b1fd1a27a0d50b778d053f0be1 [
file
] [
log
] [
blame
]
let
i
=
0
;
let
a
=
while
(
i
<
10
)
{
i
=
i
+
1
;
};
i
=
0
;
let
b
=
while
(
true
)
{
i
=
i
+
1
;
if
(
i
>=
10
)
{
return
i
;
}
};
j
.
assertNull
(
a
);
j
.
assertEquals
(
b
,
10
);
return
i
;