test262/test/built-ins/WeakRef/constructor.js

16 lines
418 B
JavaScript
Raw Normal View History

// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-weak-ref-constructor
description: >
The WeakRef constructor is the %WeakRef% intrinsic object and the initial
value of the WeakRef property of the global object.
features: [WeakRef]
---*/
assert.sameValue(
typeof WeakRef, 'function',
2019-06-03 22:59:39 +02:00
'typeof WeakRef is function'
);