2019-06-03 19:49:03 +02:00
|
|
|
// 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.
|
2019-06-21 19:41:28 +02:00
|
|
|
features: [WeakRef]
|
2019-06-03 19:49:03 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
assert.sameValue(
|
|
|
|
typeof WeakRef, 'function',
|
2019-06-03 22:59:39 +02:00
|
|
|
'typeof WeakRef is function'
|
2019-06-03 19:49:03 +02:00
|
|
|
);
|