summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_6/Expressions/destructuring-array-default-call.js
blob: a3a3622054dc0688df43ef9dd5a2bea1d15c6b83 (plain)
1
2
3
4
5
6
7
8
9
10
var BUGNUMBER = 1184922;
var summary = "Array destructuring with various default values in various context - call/new expression";

print(BUGNUMBER + ": " + summary);

testDestructuringArrayDefault("func()");
testDestructuringArrayDefault("new func()");

if (typeof reportCompare === "function")
  reportCompare(true, true);