mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 19:53:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			346 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			346 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright 2009 the Sputnik authors.  All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| info: Result of number conversion from null value is +0
 | |
| es5id: 9.3_A2_T1
 | |
| description: null convert to Number by explicit transformation
 | |
| ---*/
 | |
| assert.sameValue(Number(null), 0, 'Number(null) must return 0');
 |