Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Reflect/preventExtensions/length.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.length value and property descriptor
7 includes: [propertyHelper.js]
8 ---*/
9
10 assert.sameValue(
11 Reflect.preventExtensions.length, 1,
12 'The value of `Reflect.preventExtensions.length` is `1`'
13 );
14
15 verifyNotEnumerable(Reflect.preventExtensions, 'length');
16 verifyNotWritable(Reflect.preventExtensions, 'length');
17 verifyConfigurable(Reflect.preventExtensions, 'length');