mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
7d6d04b421
**Description:** Drop the last comma in an array literal. **Related issue:** - Closes https://github.com/swc-project/swc/issues/5692.
20 lines
109 B
JavaScript
20 lines
109 B
JavaScript
a = [
|
|
1,
|
|
,
|
|
];
|
|
b = [
|
|
2,
|
|
3,
|
|
c
|
|
];
|
|
d = [
|
|
4,
|
|
,
|
|
5
|
|
];
|
|
e = [
|
|
6,
|
|
c,
|
|
7
|
|
];
|