Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/WeakMap/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 es6id: 23.3.1
5 esid: sec-weakmap-constructor
6 description: >
7 The WeakMap constructor is the %WeakMap% intrinsic object and the initial
8 value of the WeakMap property of the global object.
9 ---*/
10
11 assert.sameValue(
12 typeof WeakMap, 'function',
13 'typeof WeakMap is "function"'
14 );