mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-25 17:53:53 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			337 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			337 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright (C) 2016 The V8 Project authors. All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| esid: sec-math.acosh
 | |
| description: >
 | |
|   Return Infinity if x is Infinity
 | |
| info: |
 | |
|   Math.acosh ( x )
 | |
| 
 | |
|   If x is +∞, the result is +∞.
 | |
| ---*/
 | |
| 
 | |
| assert.sameValue(Math.acosh(Infinity), Infinity);
 |