Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Object / seal / length.js
blob114de5fd883a62270bdde67a49086a2b52b0b81a
1 // Copyright (C) 2020 Rick Waldron.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-ecmascript-standard-built-in-objects
6 description: Object.seal '`length` property'
7 info: |
8   ECMAScript Standard Built-in Objects
10   Every built-in function object, including constructors, has a "length" property whose value is an integer. Unless otherwise specified, this value is equal to the number of required parameters shown in the subclause headings for the function description. Optional parameters and rest parameters are not included in the parameter count.
12   Unless otherwise specified, the "length" property of a built-in function object has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
14 includes: [propertyHelper.js]
15 ---*/
17 assert.sameValue(Object.seal.length, 1);
19 verifyNotEnumerable(Object.seal, "length");
20 verifyNotWritable(Object.seal, "length");
21 verifyConfigurable(Object.seal, "length");
23 reportCompare(0, 0);