mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	 47ba231a9b
			
		
	
	
		47ba231a9b
		
	
	
	
	
		
			
			The "with" statement is its own token (TokenType::With), and thus would fail to parse as an identifier. We've already asserted that the token we are parsing is "with" or "assert", so just consume it.
		
			
				
	
	
		
			2 lines
		
	
	
	
		
			82 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
	
		
			82 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import json from "./json-module.json" with { type: "json" };
 | |
| export default json;
 |