2015-06-02 22:44:33 +02:00
|
|
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
|
|
es6id: 26.2.2
|
|
|
|
description: >
|
|
|
|
Properties of the Proxy Constructor
|
|
|
|
|
|
|
|
Besides the length property (whose value is 2)
|
|
|
|
|
|
|
|
includes: [propertyHelper.js]
|
2018-07-21 00:42:39 +02:00
|
|
|
features: [Proxy]
|
2015-06-02 22:44:33 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
assert.sameValue(Proxy.length, 2, "The value of `Proxy.length` is `2`");
|
|
|
|
|
|
|
|
verifyNotEnumerable(Proxy, "length");
|
|
|
|
verifyNotWritable(Proxy, "length");
|
|
|
|
verifyConfigurable(Proxy, "length");
|