Closed Shilpi3 closed 7 years ago
Following scripts should throw an error
Refer to script 69 function x(...[ a, b ]){}
function x(...[ a, b ]){}
Refer to script 70 function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){}
function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){}
Refer to script 71 (function x(...[ a, b ]){})
(function x(...[ a, b ]){})
Refer to script 75 (function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){})
(function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){})
Refer to script 76 (...[a, b]) => {}
(...[a, b]) => {}
Refer to script 77 (a, ...[b]) => {}
(a, ...[b]) => {}
Refer to script 149 function x(...{ a }){}
function x(...{ a }){}
Refer to script 151 "use strict"; function x(a, ...[a]){}
"use strict"; function x(a, ...[a]){}
Refer to script 248 (a,...[a]) => 0;
(a,...[a]) => 0;
Refer to script 519 function x(...{ a }){}
Duplicate of #313
Following scripts should throw an error
Refer to script 69
function x(...[ a, b ]){}
Refer to script 70
function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){}
Refer to script 71
(function x(...[ a, b ]){})
Refer to script 75
(function x({ a: { w, x }, b: [y, z] }, ...[a, b, c]){})
Refer to script 76
(...[a, b]) => {}
Refer to script 77
(a, ...[b]) => {}
Refer to script 149
function x(...{ a }){}
Refer to script 151
"use strict"; function x(a, ...[a]){}
Refer to script 248
(a,...[a]) => 0;
Refer to script 519
function x(...{ a }){}