mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			418 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			418 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// 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',
 | 
						|
  'typeof WeakRef is function'
 | 
						|
);
 |