Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
jaeger
/
bug582392.js
blob: ad60d3f5b1342af972c6a1ec47af3e149c39052c [
file
] [
log
] [
blame
]
function
cmp
(
x
,
y
)
{
if
(
x
<
y
)
return
-
1
;
if
(
x
>
y
)
return
1
;
return
0
;
}
assertEq
(
cmp
(
'true'
,
'false'
),
1
);