mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
ab7d46c5bc
swc_common: - implement VisitWith for &T and [T] swc_ecma_ast: - fix codegen of `===` swc_ecma_parser: - fix parsing of array pattern swc_ecma_transforms: - implement es2015::destructuring - implement es2015::computed_properties - implement es2015::duplicate_keys - implement es2015::parameters - fix `InjectHelper` pass Note that getters / setters in class are not supported yet - Run execution tests via jest - ignore es2016::exponentation tests
39 lines
457 B
JavaScript
39 lines
457 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;
|