blob: f6a36fd9bc1d7a311873be0d734e3eed575359c3 (
plain)
1
2
3
4
5
6
7
8
9
|
var str = ' ';
// Generate a 4MB string = 2^(20+2)
for (var i = 0; i < 22; i++) {
str = str + str;
}
str += 'var a = 1 + 1;';
// don't throw an exception even though the column numbers cannot be maintained
eval(str);
|