mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:02:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("if statement consequent/alternate expression returns empty completion", () => {
 | |
|     expect(eval("1; if (true) {}")).toBeUndefined();
 | |
|     expect(eval("1; if (false) {} else {}")).toBeUndefined();
 | |
| });
 | 
