mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
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: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Float32Array([3, 1, 2]);
|
var array = new Float32Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Float64Array([3, 1, 2]);
|
var array = new Float64Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Int16Array([3, 1, 2]);
|
var array = new Int16Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Int32Array([3, 1, 2]);
|
var array = new Int32Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Int8Array([3, 1, 2]);
|
var array = new Int8Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Uint16Array([3, 1, 2]);
|
var array = new Uint16Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Uint32Array([3, 1, 2]);
|
var array = new Uint32Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Uint8Array([3, 1, 2]);
|
var array = new Uint8Array([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
@ -5,6 +5,7 @@ es6id: 22.1.5.2.1
|
|||||||
description: >
|
description: >
|
||||||
Visits each element of the array in order and ceases iteration once all
|
Visits each element of the array in order and ceases iteration once all
|
||||||
values have been visited.
|
values have been visited.
|
||||||
|
features: [TypedArray]
|
||||||
---*/
|
---*/
|
||||||
var array = new Uint8ClampedArray([3, 1, 2]);
|
var array = new Uint8ClampedArray([3, 1, 2]);
|
||||||
var iterator = array[Symbol.iterator]();
|
var iterator = array[Symbol.iterator]();
|
Loading…
x
Reference in New Issue
Block a user