Lines Matching refs:undef_array
29 var undef_array = [0,,2,undefined,4,,6,undefined,8,,10]; variable
68 assertEquals(3, undef_array.indexOf(undefined));
69 assertEquals(3, undef_array.indexOf(undefined, 3));
70 assertEquals(7, undef_array.indexOf(undefined, 4));
71 assertEquals(7, undef_array.indexOf(undefined, 7));
72 assertEquals(-1, undef_array.indexOf(undefined, 8));
73 assertEquals(3, undef_array.indexOf(undefined, -11));
74 assertEquals(3, undef_array.indexOf(undefined, -8));
75 assertEquals(7, undef_array.indexOf(undefined, -7));
76 assertEquals(7, undef_array.indexOf(undefined, -4));
77 assertEquals(-1, undef_array.indexOf(undefined, -3));
135 assertEquals(7, undef_array.lastIndexOf(undefined));
136 assertEquals(-1, undef_array.lastIndexOf(undefined, 2));
137 assertEquals(3, undef_array.lastIndexOf(undefined, 3));
138 assertEquals(3, undef_array.lastIndexOf(undefined, 6));
139 assertEquals(7, undef_array.lastIndexOf(undefined, 7));
140 assertEquals(7, undef_array.lastIndexOf(undefined, -1));
141 assertEquals(-1, undef_array.lastIndexOf(undefined, -9));
142 assertEquals(3, undef_array.lastIndexOf(undefined, -8));
143 assertEquals(3, undef_array.lastIndexOf(undefined, -5));
144 assertEquals(7, undef_array.lastIndexOf(undefined, -4));