mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 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.min(NaN)));
 | |
|     assert(isNaN(Math.min("String", 1)));
 | |
| 
 | |
|     console.log("PASS");
 | |
| } catch {
 | |
|     console.log("FAIL");
 | |
| }
 | 
