mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
9a5de4beb6
transforms: - implement String.length simplifier - implement more arithmetic operations - new Date() is side-effect free - implement left.rhs * right - optimize `SeqExpr` while creation - implement es3 - member expression literals pass - implement es2015 - classes pass codegen: - handle infinity correctly - disable comments for testing (it's buggy) ast: - add methods about reserved words
17 lines
242 B
JavaScript
17 lines
242 B
JavaScript
(function() {
|
|
var a ;
|
|
if (b) return;
|
|
a = new c();
|
|
return a;
|
|
})()(function() {
|
|
var a ;
|
|
if (b) return;
|
|
a = new c();
|
|
return a;
|
|
})()(function() {
|
|
var a ;
|
|
if (b) return;
|
|
a = new c();
|
|
return a;
|
|
})();
|