mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 23:56:32 +03:00
4d4e4ce979
swc_ecma_parser: - improve parser's tests It now shows the code failed to parse - allow rest pattern in catch clause - fix parsing of named export (semicolon) swc_ecma_transforms: - implement array spread - add helper methods (objectWithoutProperties) - add some fast paths - make es2015::parameters handle catch clauses - don't show helpers when execution failed - export fixer
3 lines
21 B
JavaScript
3 lines
21 B
JavaScript
export default 1;
|
|
2;
|