2021-07-19 19:23:41 +02:00
|
|
|
// Copyright (C) 2021 Rick Waldron. All rights reserved.
|
2021-07-16 18:00:56 +02:00
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
2021-09-02 17:07:19 +02:00
|
|
|
esid: sec-shadowrealm-constructor
|
2021-07-16 18:00:56 +02:00
|
|
|
description: >
|
2021-09-02 17:07:19 +02:00
|
|
|
The value of ShadowRealm.length is 0
|
2021-07-16 18:00:56 +02:00
|
|
|
info: |
|
2021-09-02 17:07:19 +02:00
|
|
|
ShadowRealm ( )
|
2021-07-16 18:00:56 +02:00
|
|
|
|
|
|
|
Every built-in function object, including constructors, has a "length" property
|
|
|
|
whose value is a non-negative integral Number. Unless otherwise specified, this value
|
|
|
|
is equal to the number of required parameters shown in the subclause heading for the
|
|
|
|
function description. Optional parameters and rest parameters are not included in
|
|
|
|
the parameter count.
|
|
|
|
|
|
|
|
Unless otherwise specified, the "length" property of a built-in function object has
|
|
|
|
the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
|
|
|
|
|
|
|
|
includes: [propertyHelper.js]
|
2021-09-02 16:46:33 +02:00
|
|
|
features: [ShadowRealm]
|
2021-07-16 18:00:56 +02:00
|
|
|
---*/
|
|
|
|
|
2021-09-02 17:07:19 +02:00
|
|
|
verifyProperty(ShadowRealm, "length", {
|
2021-07-19 19:26:09 +02:00
|
|
|
value: 0,
|
|
|
|
enumerable: false,
|
|
|
|
writable: false,
|
|
|
|
configurable: true,
|
|
|
|
});
|