constructor.js (440B)
1 // Copyright (C) 2019 Leo Balter. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-weak-ref-constructor 6 description: > 7 The WeakRef constructor is the %WeakRef% intrinsic object and the initial 8 value of the WeakRef property of the global object. 9 features: [WeakRef] 10 ---*/ 11 12 assert.sameValue( 13 typeof WeakRef, 'function', 14 'typeof WeakRef is function' 15 ); 16 17 reportCompare(0, 0);