Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 | |
| 6 var a = '<'; | |
| 7 for (var i = 0; i < 26; i++) a += a; | |
| 8 a = a + a + a; | |
| 9 | |
| 10 function escape_a() { | |
| 11 escape(a); | |
| 12 } | |
| 13 | |
| 14 assertThrows(escape_a, RangeError); | |
| OLD | NEW |