summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-646820-1.js
blob: 535878d5097696a7fc8e5d84b9aab73329ec96cd (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] = [1, function () x];
    assertEq(y(), 1);
})();

reportCompare(0, 0, 'ok');