blob: 9529c8938194609f5fd71fef4a6e1c94fd2cb913 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function concat() {
var a = " ";
for (var i = 0; i < 100; i++) {
a += a;
}
}
assertThrows(concat, RangeError);
|