summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug819611.js
blob: f5b662935bb4833288944f8cef9cc66786631b90 (plain)
1
2
3
4
5
6
// |jit-test| --ion-eager
x = [0, 0]
Object.freeze(x).map(function() {
    x.length = 6
})
assertEq(x.length,2);