mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:22:43 +00:00 
			
		
		
		
	 3252d984ae
			
		
	
	
		3252d984ae
		
	
	
	
	
		
			
			This is a curious thing that occurs more often than you'd think in
minified JavaScript:
    a: b: c: for (...) { ... break b; ... }
		
	
			
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("basic support for statement with many labels", () => {
 | |
|     function foo() {
 | |
|         a: b: c: for (;;) {
 | |
|             break b;
 | |
|         }
 | |
|         return 1;
 | |
|     }
 | |
|     expect(foo()).toBe(1);
 | |
| });
 |