summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/WeakSet/constructor.js
blob: 21e8e80f7e1522e1303205f843f06e55556217de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-weakset-constructor
description: >
  The WeakSet constructor is the %WeakSet% intrinsic object and the initial
  value of the WeakSet property of the global object.
---*/

assert.sameValue(
  typeof WeakSet, 'function',
  'typeof WeakSet is "function"'
);

reportCompare(0, 0);