Searched refs:copyWithin (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/mjsunit/es6/ |
D | array-copywithin.js | 6 assertEquals(Array.prototype.copyWithin.length, 2); 12 assertArrayEquals([4, 5, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, 3)); 13 assertArrayEquals([1, 4, 5, 4, 5], [1, 2, 3, 4, 5].copyWithin(1, 3)); 14 assertArrayEquals([1, 3, 4, 5, 5], [1, 2, 3, 4, 5].copyWithin(1, 2)); 15 assertArrayEquals([1, 2, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(2, 2)); 21 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(0, 3, 4), [4, 2, 3, 4, 5]); 22 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(1, 3, 4), [1, 4, 3, 4, 5]); 23 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(1, 2, 4), [1, 3, 4, 4, 5]); 29 assertArrayEquals([4, 5, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, -2)); 30 assertArrayEquals([4, 2, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, -2, -1)); [all …]
|
D | typedarray-copywithin.js | 21 assertEquals(new constructor([]).copyWithin.length, 2); 28 new constructor([1, 2, 3, 4, 5]).copyWithin(0, 3)); 30 new constructor([1, 2, 3, 4, 5]).copyWithin(1, 3)); 32 new constructor([1, 2, 3, 4, 5]).copyWithin(1, 2)); 34 new constructor([1, 2, 3, 4, 5]).copyWithin(2, 2)); 40 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(0, 3, 4), 42 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(1, 3, 4), 44 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(1, 2, 4), 52 new constructor([1, 2, 3, 4, 5]).copyWithin(0, -2)); 54 new constructor([1, 2, 3, 4, 5]).copyWithin(0, -2, -1)); [all …]
|
D | unscopables.js | 94 var copyWithin = 'local copyWithin'; 106 assertEquals('local copyWithin', copyWithin);
|
/external/v8/src/js/ |
D | array.js | 1849 copyWithin: true, property
|
/external/v8/ |
D | ChangeLog | 3752 TypedArray.prototype.copyWithin method (issue 3578).
|