Searched refs:funky_object (Results 1 – 2 of 2) sorted by relevance
/external/v8/test/mjsunit/ |
D | array-indexing.js | 45 var funky_object = { 10:42, 100000: 42, 100001: 37, length: 50000 }; variable 110 assertEquals(10, Array.prototype.indexOf.call(funky_object, 42)); 111 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 42, 15)); 112 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 37)); 182 assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42, 15)); 183 assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42)); 184 assertEquals(-1, Array.prototype.lastIndexOf.call(funky_object, 37));
|
/external/chromium_org/v8/test/mjsunit/ |
D | array-indexing.js | 45 var funky_object = { 10:42, 100000: 42, 100001: 37, length: 50000 }; variable 110 assertEquals(10, Array.prototype.indexOf.call(funky_object, 42)); 111 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 42, 15)); 112 assertEquals(-1, Array.prototype.indexOf.call(funky_object, 37)); 182 assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42, 15)); 183 assertEquals(10, Array.prototype.lastIndexOf.call(funky_object, 42)); 184 assertEquals(-1, Array.prototype.lastIndexOf.call(funky_object, 37));
|