summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug842313.js
blob: 251d86f9fa01d4b82c4f3bb79d1f88db50becf9a (plain)
1
2
3
4
5
6
7
function concat(v, index, array) {}
var strings = ['hello', 'Array', 'WORLD'];
try {
    strings.forEach();
} catch(e) {
    strings.forEach(concat);
}