mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-27 01:33:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			187 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			187 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| //@ runDefault("--forceEagerCompilation=1", "--useConcurrentJIT=0")
 | |
| 
 | |
| function foo(x) {
 | |
|     x.toString();
 | |
| }
 | |
| 
 | |
| var a = new String();
 | |
| a.valueOf = 0
 | |
| for (var i = 0; i < 5; i++) {
 | |
|     foo(a)
 | |
| }
 |