summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug582392.js
blob: ad60d3f5b1342af972c6a1ec47af3e149c39052c (plain)
1
2
3
4
5
6
7
8
function cmp(x, y) {
  if (x < y)
    return -1;
  if (x > y)
    return 1;
  return 0;
}
assertEq(cmp('true', 'false'), 1);