Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Reflect/preventExtensions/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 es6id: 26.1.12
5 description: >
6 Reflect.preventExtensions.name value and property descriptor
7 info: |
8 26.1.12 Reflect.preventExtensions ( target )
9
10 17 ECMAScript Standard Built-in Objects
11
12 includes: [propertyHelper.js]
13 ---*/
14
15 assert.sameValue(
16 Reflect.preventExtensions.name, 'preventExtensions',
17 'The value of `Reflect.preventExtensions.name` is `"preventExtensions"`'
18 );
19
20 verifyNotEnumerable(Reflect.preventExtensions, 'name');
21 verifyNotWritable(Reflect.preventExtensions, 'name');
22 verifyConfigurable(Reflect.preventExtensions, 'name');