Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testConstIf.js
blob: 2fcde1caf0bd421da54bc9f2c146869ba09b699c [
file
] [
log
] [
blame
]
function
testConstIf
()
{
var
x
;
for
(
var
j
=
0
;
j
<
5
;++
j
)
{
if
(
1.1
||
5
)
{
}
x
=
2
;}
return
x
;
}
assertEq
(
testConstIf
(),
2
);