Debian Codegraph @

js/src/tests/test262/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 features: [Proxy]
12 ---*/
13
14 verifyProperty(Proxy, "length", {
15 value: 2,
16 writable: false,
17 enumerable: false,
18 configurable: true
19 });
20
21 reportCompare(0, 0);