summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-646820-3.js
blob: 26a5aa814c5ac8744ad2f90b5996f7b5948a3fcd (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 () { return y; }, 13];
    assertEq(x(), 13);
})();

reportCompare(0, 0, 'ok');