mirror of
https://github.com/swc-project/swc.git
synced 2025-01-03 19:14:01 +03:00
c047e0e54d
swc_bundler: - Create variables for export while preparing a module. (denoland/deno#9560) - Fix order of statements. - Invoke dce multiple time if required. (denoland/deno#9546) swc_ecma_transforms_optimization: - dce: Track modifications correctly.
8 lines
118 B
TypeScript
8 lines
118 B
TypeScript
const a = "hello world";
|
|
const mod = function() {
|
|
return {
|
|
instanceof: a
|
|
};
|
|
}();
|
|
console.log(a, mod);
|