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.
8 for (var i = 0; i < 5; i++) a += a;
10 for (var i = 0; i < 23; i++) b += b;
16 assertThrows(replace1, RangeError);
20 for (var i = 0; i < 16; i++) a += a;
26 assertThrows(replace2, RangeError);