swc/ecmascript/minifier/tests/terser/compress/async/async_arrow/output.js
강동윤 c6b22c57f8
feat(es/minifier): Implement minifier partially (#1302)
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
2021-05-20 13:51:30 +09:00

10 lines
228 B
JavaScript

let a1 = async (x) => await foo(x);
let a2 = async () => await bar();
let a3 = async (x) => await baz(x);
let a4 = async (x, y) => {
await far(x, y);
};
let a5 = async ({ x: x = [1], y: z = 2 }) => {
await wow(x, z);
};