Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Proxy/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.2.2
5 description: >
6 Properties of the Proxy Constructor
7
8 Besides the length property (whose value is 2)
9
10 includes: [propertyHelper.js]
11 ---*/
12
13 assert.sameValue(Proxy.length, 2, "The value of `Proxy.length` is `2`");
14
15 verifyNotEnumerable(Proxy, "length");
16 verifyNotWritable(Proxy, "length");
17 verifyConfigurable(Proxy, "length");