mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-27 01:33:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			222 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			222 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| function foo(o) {
 | |
|     return o.r.input;
 | |
| }
 | |
| noInline(foo);
 | |
| 
 | |
| Object.assign({}, RegExp);
 | |
| 
 | |
| for (let i = 0; i < 10000; i++)
 | |
|     foo({r: RegExp});
 | |
| 
 | |
| let input = foo({r: RegExp});
 | |
| if (typeof input !== "string")
 | |
|     throw "FAILED";
 |