swc/crates/swc_webpack_ast/tests/fixture/object-patterns/input.js

10 lines
186 B
JavaScript
Raw Normal View History

import { a } from "x";
import b from "y";
function d() {
a.x.y(), console.log(b);
require("z");
module.hot.accept("x", ({ a = 1, b: { foo }, c: { ...rest } }) => {
})
}