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