mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-24 17:09:43 +00:00 
			
		
		
		
	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);
 | |
| });
 |