Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/of/name.js

raw
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-array.of
5 es6id: 22.1.2.3
6 description: >
7 Array.of.name value and property descriptor
8 info: |
9 Array.of ( ...items )
10
11 17 ECMAScript Standard Built-in Objects
12
13 includes: [propertyHelper.js]
14 ---*/
15
16 assert.sameValue(
17 Array.of.name, 'of',
18 'The value of `Array.of.name` is `"of"`'
19 );
20
21 verifyNotEnumerable(Array.of, 'name');
22 verifyNotWritable(Array.of, 'name');
23 verifyConfigurable(Array.of, 'name');