mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	
		
			
	
	
		
			6 lines
		
	
	
	
		
			199 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			6 lines
		
	
	
	
		
			199 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								describe("parsing new expressions with optional chaining", () => {
							 | 
						||
| 
								 | 
							
								    expect("new Object()?.foo").toEval();
							 | 
						||
| 
								 | 
							
								    expect("new Object?.foo").not.toEval();
							 | 
						||
| 
								 | 
							
								    expect("(new Object)?.foo").toEval();
							 | 
						||
| 
								 | 
							
								});
							 |