summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1206265.js
blob: 7787389861a6b3f44c415816fdd91bb9cac5a570 (plain)
1
2
3
4
5
6
7
8
x = [
    createIsHTMLDDA(),
    function() {}
];
x.forEach(function() {});
this.x.sort(function() {});
assertEq(x[0] instanceof Function, false);
assertEq(x[1] instanceof Function, true);