mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-28 11:02:36 +00:00 
			
		
		
		
	 02de3cbce3
			
		
	
	
		02de3cbce3
		
	
	
	
	
		
			
			This is initialized to be the same function object as the initial value of the parseInt function on the global object.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("basic functionality", () => {
 | |
|     // Ensuring it's the same function as the global
 | |
|     // parseInt() is enough as that already has tests :^)
 | |
|     expect(Number.parseInt).toBe(parseInt);
 | |
| });
 |