OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:holey
(Results
1 - 2
of
2
) sorted by null
/external/v8/test/mjsunit/
apply.js
174
var
holey
= new Array(3);
175
holey
[0] = "mor";
176
holey
[2] = "er";
178
assertEquals("morseper", String.prototype.concat.apply("",
holey
),
180
assertEquals("morseper", String.prototype.concat.apply("",
holey
, 1),
182
assertEquals("morseper", String.prototype.concat.apply("",
holey
, 1, 2),
184
assertEquals("morseper", String.prototype.concat.apply("",
holey
, 1, 2, 3),
186
assertEquals("morseper", String.prototype.concat.apply("",
holey
, 1, 2, 3, 4),
190
primes[1] =
holey
;
array-concat.js
112
var
holey
= [void 0,'a',,'c'].concat(['d',,'f',[0,,2],void 0])
variable
113
assertEquals(9,
holey
.length); // hole in embedded array is ignored
114
for (var i = 0; i <
holey
.length; i++) {
116
assertFalse(i in
holey
);
118
assertTrue(i in
holey
);
Completed in 80 milliseconds