summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-646820-3.js
blob: 392a4345d1abfb06b82605b51adc07369ce9aab9 (plain)
1
2
3
4
5
6
7
8
9
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

(function () {
    var [x, y] = [function () y, 13];
    assertEq(x(), 13);
})();

reportCompare(0, 0, 'ok');