Debian Codegraph @

js/src/tests/test262/built-ins/WeakSet/constructor.js

raw
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-weakset-constructor
5 description: >
6 The WeakSet constructor is the %WeakSet% intrinsic object and the initial
7 value of the WeakSet property of the global object.
8 ---*/
9
10 assert.sameValue(
11 typeof WeakSet, 'function',
12 'typeof WeakSet is "function"'
13 );
14
15 reportCompare(0, 0);