summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testObjectOrderedCmp.js
blob: 7065ad8fc9561ea930da49b13e4d4059e09c7fff (plain)
1
2
3
4
5
6
7
function testObjectOrderedCmp()
{
  var a = new Array(5);
  for(var i=0;i<5;++i) a[i] = ({} < {});
  return a.join(",");
}
assertEq(testObjectOrderedCmp(), "false,false,false,false,false");