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