OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 delete Object.prototype.__proto__; | |
6 | |
7 function f() { | 5 function f() { |
8 this.toString = 1; | 6 for (var j = 1; j < 1; j *= -8) { |
| 7 } |
| 8 for (var i = 1; i < 1; j += 2) { |
| 9 j * -1; |
| 10 } |
9 } | 11 } |
10 | |
11 f.apply({}); | |
12 f(); | 12 f(); |
OLD | NEW |