summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1247926.js
blob: e93198db3158e25fff1ea671f5042508f5c4f8fa (plain)
1
2
3
4
5
6
JSON.parse('[1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0]', function(k, v) { return ""; });
str = "[";
for (i = 0; i < 2048; i++) str += "1,"
str += "1]";
JSON.parse(str);