summaryrefslogtreecommitdiff
path: root/test/built-ins/Set/prototype/clear/clear.js
blob: 3d770e4c96f1aa35c7c34cd25df24c475de64d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.2.3.2
description: >
    Set.prototype.clear ( )

    17 ECMAScript Standard Built-in Objects

includes: [propertyHelper.js]
---*/

assert.sameValue(
  typeof Set.prototype.clear,
  "function",
  "`typeof Set.prototype.clear` is `'function'`"
);

verifyNotEnumerable(Set.prototype, "clear");
verifyWritable(Set.prototype, "clear");
verifyConfigurable(Set.prototype, "clear");