Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Set / prototype / has / length.js
blob93326a356509ef1ce2e49bea8f1ffb18c7fa489c
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-set.prototype.has
5 description: >
6     Set.prototype.has ( value )
8     17 ECMAScript Standard Built-in Objects
10 includes: [propertyHelper.js]
11 ---*/
13 assert.sameValue(Set.prototype.has.length, 1, "The value of `Set.prototype.has.length` is `1`");
15 verifyNotEnumerable(Set.prototype.has, "length");
16 verifyNotWritable(Set.prototype.has, "length");
17 verifyConfigurable(Set.prototype.has, "length");
19 reportCompare(0, 0);