summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug829795.js
blob: 236b5e68d61d4d75c6111bf61b1918ccf13d48a9 (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError

try {
    x = [];
    Array.prototype.forEach()
} catch (e) {}
x.forEach()