mirror of https://github.com/tc39/test262.git
Move tests for iterator prototype methods
Define tests for intrinsic Iterators under the appropriate subdirectory of `built-ins`.
This commit is contained in:
parent
5341ad5985
commit
eefc23df50
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Float32Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Float64Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Int16Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Int32Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Int8Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Uint16Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Uint32Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Uint8Array([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||
description: >
|
||||
Visits each element of the array in order and ceases iteration once all
|
||||
values have been visited.
|
||||
features: [TypedArray]
|
||||
---*/
|
||||
var array = new Uint8ClampedArray([3, 1, 2]);
|
||||
var iterator = array[Symbol.iterator]();
|
Loading…
Reference in New Issue