blob: 453eaf3f4ac5bcfda5df5763d718769b563c0f31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 22.2.3.4
description: >
Initial state of the constructor property
info: |
The initial value of %TypedArray%.prototype.constructor is the %TypedArray% intrinsic object.
Per ES6 section 17, the method should exist on the %TypedArray% prototype, and it
should be writable and configurable, but not enumerable.
includes: [propertyHelper.js, testTypedArray.js]
---*/
assert.sameValue(TypedArray.prototype.constructor, TypedArray);
verifyNotEnumerable(TypedArray.prototype, "constructor");
verifyWritable(TypedArray.prototype, "constructor");
verifyConfigurable(TypedArray.prototype, "constructor");
|