Home | History | Annotate | Download | only in regress

Lines Matching refs:arr

12   var arr = new Array(+0, true, 0, -0, false, undefined, null, "0", obj, v1, -(4/3), -1.3333333333333, "str", v2, 1, false);
13 assertEquals(10, arr.lastIndexOf(-(4/3)));
14 assertEquals(9, arr.indexOf(-(4/3)));
16 assertEquals(10, arr.lastIndexOf(v));
17 assertEquals(9, arr.indexOf(v));
19 assertEquals(8, arr.lastIndexOf(obj));
20 assertEquals(8, arr.indexOf(obj));
24 var arr = new Array({}, x-1.1, x-2, x-3.1);
25 assertEquals(index, arr.indexOf(0));
26 assertEquals(index, arr.lastIndexOf(0));
28 assertEquals(index, arr.indexOf(v));
29 assertEquals(index, arr.lastIndexOf(v));