mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	Prior to this commit, the enumerability of the value properties of the global object were only verified in strict mode, the assertions occured in the same file, and that file test was poorly located. Restructure the relevant tests to improve coverage, follow convention, and promote discoverability.
		
			
				
	
	
		
			18 lines
		
	
	
		
			472 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			472 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright (C) 2019 Bocoup. All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
 | 
						|
/*---
 | 
						|
esid: sec-value-properties-of-the-global-object-nan
 | 
						|
description: Property descriptor of NaN
 | 
						|
info: |
 | 
						|
  This property has the attributes { [[Writable]]: false, [[Enumerable]]:
 | 
						|
  false, [[Configurable]]: false }.
 | 
						|
includes: [propertyHelper.js]
 | 
						|
---*/
 | 
						|
 | 
						|
verifyProperty(this, "NaN", {
 | 
						|
  enumerable: false,
 | 
						|
  writable: false,
 | 
						|
  configurable: false
 | 
						|
});
 |