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.
9 lines
96 B
JavaScript
9 lines
96 B
JavaScript
import x from 'x;/'
|
|
import y from 'y;'
|
|
|
|
const obj = {
|
|
[1 + y]: 1,
|
|
x,
|
|
}
|
|
|
|
console.log(obj) |