Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / WeakSet / prototype / has / length.js
blob5e4176a5ccb7c818c52c68001edf48ac34ea67b0
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.has
5 description: >
6   WeakSet.prototype.has.length value and writability.
7 info: |
8   WeakSet.prototype.has ( value )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 assert.sameValue(
16   WeakSet.prototype.has.length, 1,
17   'The value of WeakSet.prototype.has.length is 1'
20 verifyNotEnumerable(WeakSet.prototype.has, 'length');
21 verifyNotWritable(WeakSet.prototype.has, 'length');
22 verifyConfigurable(WeakSet.prototype.has, 'length');
24 reportCompare(0, 0);