swc/crates/swc_ecma_codegen/tests/test262/18cc9a6b7038070f.js
David Sherret 064bcf4854
fix(es/codegen): Remove extra spaces in AssignPatProp and KeyValuePatProp (#7488)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2023-06-07 05:08:35 +00:00

22 lines
423 B
JavaScript

(function(a) {});
(function([a]) {});
(function([a, b]) {});
(function([[a]]) {});
(function([[a, b]]) {});
(function([a, [b]]) {});
(function([[b], a]) {});
(function({ a }) {});
(function({ a, b }) {});
(function([{ a }]) {});
(function([{ a, b }]) {});
(function([a, { b }]) {});
(function([{ b }, a]) {});
([a])=>{};
([a, b])=>{};
({ a })=>{};
({ a, b, c, d, e })=>{};
([a])=>b;
([a, b])=>c;
({ a })=>b;
({ a, b })=>c;