summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263355-38.js
blob: 4a426427629acb46c37e7e81b979c280c8a4bd0a (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: SyntaxError

function crashMe2(n) {
    var nasty = [],
        fn
    while (n--) nasty[n] = "a" + 1234567890
    fn = Function(nasty.join(), "void 0")
}
crashMe2(0x10000);