summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/spread-array-bug842884.js
blob: 909bb5c6be2e0b544cebb09fe9031d802b86244b (plain)
1
2
3
4
5
load(libdir + "asserts.js");

assertThrowsInstanceOf(function () {
    var [] = [x, ...d];
}, ReferenceError);