summaryrefslogtreecommitdiff
path: root/test/built-ins/Map/prototype/clear/clear.js
blob: 59f28de2e90d7e66fbbf99172305ff14ff335712 (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.1.3.1
description: >
    Map.prototype.clear ( )

    17 ECMAScript Standard Built-in Objects

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

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

verifyNotEnumerable(Map.prototype, 'clear');
verifyWritable(Map.prototype, 'clear');
verifyConfigurable(Map.prototype, 'clear');