mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	Corresponds to https://github.com/tc39/proposal-weakrefs/pull/183 (Note, this is untested)
		
			
				
	
	
		
			16 lines
		
	
	
		
			509 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			509 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-finalization-registry-constructor
 | 
						|
description: >
 | 
						|
  The FinalizationRegistry constructor is the %FinalizationRegistry% intrinsic object and the initial
 | 
						|
  value of the FinalizationRegistry property of the global object.
 | 
						|
features: [FinalizationRegistry]
 | 
						|
---*/
 | 
						|
 | 
						|
assert.sameValue(
 | 
						|
  typeof FinalizationRegistry, 'function',
 | 
						|
  'typeof FinalizationRegistry is function'
 | 
						|
);
 |