swc/crates/swc_ecma_codegen/tests/test262-min/2dc0ded5a1bff643.js
IWANABETHATGUY 7d6d04b421
fix(es/codegen): Drop the last comma in an array literal (#5877)
**Description:**

Drop the last comma in an array literal.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5692.
2022-09-16 15:48:28 +09:00

2 lines
38 B
JavaScript

a=[1,,];b=[2,3,c];d=[4,,5];e=[6,c,7];