summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug829795.js
blob: ecbd564498f98189848b59b32591b8d4af8ec9e1 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error:TypeError

// Binary: cache/js-dbg-64-44dcffe8792b-linux
// Flags: -a
//
try {
    x = [];
    Array.prototype.forEach()
} catch (e) {}
x.forEach()