mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 11:44:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| function bar(o) {
 | |
|     for (let i = 0; i < 2; i++)
 | |
|         o[i] = undefined;
 | |
|     o.length = undefined;
 | |
|     return o;
 | |
| }
 | |
| 
 | |
| function foo(a) {
 | |
|     bar(a);
 | |
|     undefined + bar(0) + bar(0);
 | |
|     for(let i = 0; i < 10000000; i++) {}
 | |
| }
 | |
| 
 | |
| foo({});
 |