swc/tests/fixture/issue-1660/case3/input/index.js
강동윤 2b918b0c3d
fix(es/transforms/compat): Don't create unnecessary IIFE. (#1669)
swc_ecma_transforms_compat:
 - `class_properties`: Do not create iife if possible. (#1660)
2021-05-10 16:18:31 +09:00

2 lines
34 B
JavaScript

console.log(class { run() { } });