mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
c0b0337d1d
swc_ecma_parser: - Fix parsing of complex arrow expressions in a conditional expression. (#2174) - Report an error for wrong jsx, instead of `panic!`. (#2173) swc_ecma_transforms_react: - `jsx`: Handle fragment with single child correctly. (#2177) swc: - Ensure that #2170 is an invalid issue. (#2170)
4 lines
116 B
JavaScript
4 lines
116 B
JavaScript
function foo(param, param1) {
|
|
var arg1 = param === void 0 ? 1 : param, arg2 = param1 === void 0 ? 1 : param1;
|
|
}
|