mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
c2bbdbe9d6
swc_estree_compat: - Fix stack overflow related to object patterns. swc_webpack_}ast: - Implement AST reducer.
8 lines
78 B
JavaScript
8 lines
78 B
JavaScript
import bar from 'bar';
|
|
|
|
class Foo {
|
|
[bar]() { }
|
|
}
|
|
|
|
|
|
console.log(new Foo()) |