1 // Copyright (C) 2017 Leo Balter. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 esid: sec-array-constructor
7 The "name" property of Array
9 17 ECMAScript Standard Built-in Objects
11 Every built-in Function object, including constructors, that is not
12 identified as an anonymous function has a name property whose value is a
13 String. Unless otherwise specified, this value is the name that is given to
14 the function in this specification.
18 Unless otherwise specified, the name property of a built-in Function
19 object, if it exists, has the attributes { [[Writable]]: false,
20 [[Enumerable]]: false, [[Configurable]]: true }.
21 includes: [propertyHelper.js]
24 assert.sameValue(Array.name, 'Array', 'The value of Array.name is expected to be "Array"');
26 verifyNotEnumerable(Array, 'name');
27 verifyNotWritable(Array, 'name');
28 verifyConfigurable(Array, 'name');