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.
12 lines
135 B
JavaScript
12 lines
135 B
JavaScript
import { a } from "x";
|
|
import b from "y";
|
|
|
|
const d = {};
|
|
|
|
const obj = {
|
|
a,
|
|
[b]: 'foo',
|
|
c: 'bar',
|
|
d
|
|
};
|
|
console.log(obj); |