Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / WeakSet / prototype / add / length.js
blobf6b1312673fb11e488b17b2ef09d69d5f3db8048
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 esid: sec-weakset.prototype.add
5 description: WeakSet.prototype.add.length descriptor
6 info: |
7   WeakSet.prototype.add ( value )
9   17 ECMAScript Standard Built-in Objects
11 includes: [propertyHelper.js]
12 ---*/
14 verifyProperty(WeakSet.prototype.add, "length", {
15   value: 1,
16   writable: false,
17   enumerable: false,
18   configurable: true
19 });
21 reportCompare(0, 0);