Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testDivision.js
blob: 52f3d9557a01f73273955209b846a37a43a6fd3f [
file
] [
log
] [
blame
]
function
testDivision
()
{
var
a
=
32768
;
var
b
;
while
(
b
!==
1
)
{
b
=
a
/
2
;
a
=
b
;
}
return
a
;
}
assertEq
(
testDivision
(),
1
);