summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/TypedArray/lastIndexOf-never-returns-negative-zero.js
blob: bffc05af7361a97e987f295485da1c5695be0ffa (plain)
1
2
3
4
5
6
7
var ta = new Uint8Array(1);
ta[0] = 17;

assertEq(ta.lastIndexOf(17, -0), +0);

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