mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-27 01:33:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			225 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			225 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Reviewed
 | |
| // Regression test for 159883.  This test should not crash or throw an exception.
 | |
| 
 | |
| d = new Date(-0x80000000, 42);
 | |
| if (d.toString() != "Invalid Date")
 | |
|     throw "Expected \"Invalid Date\", but got :\"" + d + "\"";
 |