diff options
Diffstat (limited to 'test/built-ins/TypedArrays/Uint32Array/length.js')
-rw-r--r-- | test/built-ins/TypedArrays/Uint32Array/length.js | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/test/built-ins/TypedArrays/Uint32Array/length.js b/test/built-ins/TypedArrays/Uint32Array/length.js index 99bb6344f..c10cd13dc 100644 --- a/test/built-ins/TypedArrays/Uint32Array/length.js +++ b/test/built-ins/TypedArrays/Uint32Array/length.js @@ -2,30 +2,27 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -es6id: 22.2.5 -esid: sec-properties-of-the-typedarray-constructors -description: > - Uint32Array.length is 3. +esid: sec-typedarray-constructors +description: Uint32Array.length property descriptor info: | - Besides a length property (whose value is 3), [...]. + The TypedArray Constructors - 17 ECMAScript Standard Built-in Objects: - Every built-in Function object, including constructors, has a length - property whose value is an integer. Unless otherwise specified, this - value is equal to the largest number of named arguments shown in the - subclause headings for the function description, including optional - parameters. However, rest parameters shown using the form “...name” - are not included in the default argument count. + The length property of the TypedArray constructor function is 3. - Unless otherwise specified, the length property of a built-in Function - object has the attributes { [[Writable]]: false, [[Enumerable]]: false, - [[Configurable]]: true }. + 17 ECMAScript Standard Built-in Objects + + ... + + Unless otherwise specified, the length property of a built-in function + object has the attributes { [[Writable]]: false, [[Enumerable]]: false, + [[Configurable]]: true }. includes: [propertyHelper.js] features: [TypedArray] ---*/ -assert.sameValue(Uint32Array.length, 3); - -verifyNotEnumerable(Uint32Array, "length"); -verifyNotWritable(Uint32Array, "length"); -verifyConfigurable(Uint32Array, "length"); +verifyProperty(Uint32Array, "length", { + value: 3, + writable: false, + enumerable: false, + configurable: true +}); |