aboutsummaryrefslogtreecommitdiffstats
path: root/test/built-ins/WeakSet/constructor.js
blob: a35a14f2739bdc32126e93ed2e8f9e142a1c33a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.4.1
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"'
);