summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Array/indexOf-never-returns-negative-zero.js
blob: 0b39bf0a167d5f1c637f5b68f638ed41900641a5 (plain)
1
2
3
4
assertEq([17].indexOf(17, -0), +0);

if (typeof reportCompare === "function")
  reportCompare(true, true);