Lines Matching defs:val
32 assertEquals(-1, a.findIndex(function(val) { return 121 === val; })); argument
34 assertEquals(1, a.findIndex(function(val) { return 22 === val; }), undefined); argument
35 assertEquals(2, a.findIndex(function(val) { return 23 === val; }), null); argument
36 assertEquals(3, a.findIndex(function(val) { return 24 === val; })); argument
49 a.findIndex(function(val, key, obj) { argument
75 var index = a.findIndex(function(val, key, obj) { argument
118 var index = Array.prototype.findIndex.call(a, function(val, key, obj) { argument
133 index = Array.prototype.findIndex.apply(a, [function(val, key, obj) { argument
168 var index = Array.prototype.findIndex.call(a, function(val, key, obj) { argument
190 a.findIndex(function(val) { a.push(val); return false; }); argument
195 a.findIndex(function(val, key) { a[key] = ++val; return false; }); argument
219 var index = a.findIndex(function(val) { return val === undefined; }); argument
231 var index = a.findIndex(function(val) { return val === 42; }); argument
241 var index = [1, 2, 3].findIndex(function(val, key) { argument
254 index = ["a", "b", "c"].findIndex(function(val, key) { argument