mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|   | try { | ||
|  |     assert(Math.min.length === 2); | ||
|  |     assert(Math.min(1) === 1); | ||
|  |     assert(Math.min(2, 1) === 1); | ||
|  |     assert(Math.min(1, 2, 3) === 1); | ||
|  |     assert(isNaN(Math.max(NaN))); | ||
|  |     assert(isNaN(Math.max("String", 1))); | ||
|  | 
 | ||
|  |     console.log("PASS"); | ||
|  | } catch { | ||
|  |     console.log("FAIL"); | ||
|  | } |