summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug829821.js
blob: 9825e6e2b69ff67cdeee743d5fd2bb30fb4efa96 (plain)
1
2
3
4
5
// |jit-test| error:TypeError

x = [];
x.unshift(Uint8ClampedArray);
x.forEach(Array.prototype.push.bind(new Uint8ClampedArray))