summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/defaultvalue-valueOf-is-noncallable-object.js
blob: 9bb2126b93862720a71e8e2e548274a749d4bf68 (plain)
1
2
3
var obj = { valueOf: {}, toString: function() { return 0; } };
for (var i = 0; i < 25; i++)
  assertEq(obj < 1, true);