feat(es/minifier): Improve dropping of unused vars (#3923)

This commit is contained in:
Donny/강동윤 2022-03-10 00:43:01 +09:00 committed by GitHub
parent 1fbe209c53
commit 9e4dea6663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
179 changed files with 607 additions and 465 deletions

View File

@ -1,10 +1,9 @@
var E, M;
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), function(M1) {
})(E || (E = {})), function(M1) {
var a;
M1.a = a;
}(M || (M = {})), new class {
static foo() {}
}(), E.a, (a)=>a
;
}(), E.a;

View File

@ -6,9 +6,9 @@ var E, M, C = function() {
}
return C.foo = function() {}, C;
}();
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), function(M1) {
})(E || (E = {})), function(M1) {
var a;
M1.a = a;
}(M || (M = {})), new C(), E.a;

View File

@ -7,4 +7,4 @@ class C {
})(E || (E = {})), function(M1) {
var a;
M1.a = a;
}(M || (M = {})), {} + {}, E.a + new C(), E.a + C.foo(), E.a;
}(M || (M = {})), E.a + new C(), E.a + C.foo(), E.a;

View File

@ -11,4 +11,4 @@ var E, M, C = function() {
})(E || (E = {})), function(M1) {
var a;
M1.a = a;
}(M || (M = {})), {} + {}, E.a + new C(), E.a + C.foo(), E.a;
}(M || (M = {})), E.a + new C(), E.a + C.foo(), E.a;

View File

@ -1,6 +1,6 @@
var E, F;
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c;

View File

@ -1,6 +1,6 @@
var E, F;
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), E.a, E.a + E.b, E.a + E.b, E.a + F.c;

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function foo(param) {
var _x = swcHelpers.slicedToArray(param.x, 2), a = _x[0], b = _x[1], _y = param.y;
var _x = swcHelpers.slicedToArray(param.x, 2), _y = (_x[0], _x[1], param.y);
_y.c, _y.d, _y.e;
}
function baz(x) {}

View File

@ -1,6 +1,6 @@
var E, F;
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,6 +1,6 @@
var E, F;
!function(E) {
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), E.a, E.a, E.a * E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a / E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a % E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a - E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a << E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a >>> E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a & E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a ^ E.b, E.a, E.b, E.b, E.b, E.a, E.a, E.a | E.b, E.a, E.b, E.b, E.b;

View File

@ -1,4 +1,4 @@
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052, GH39357;
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052;
Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) {
let b;
b.type, b = {
@ -14,4 +14,4 @@ Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3
type: void 0
};
good.type = getAxisType();
}(GH12052 || (GH12052 = {})), GH39357 || (GH39357 = {});
}(GH12052 || (GH12052 = {}));

View File

@ -1,4 +1,4 @@
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052, GH39357;
var Example1, Example2, Example3, Example4, Example5, GH14865, GH12052;
Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3 || (Example3 = {}), t = s, Example4 || (Example4 = {}), t = s, Example5 || (Example5 = {}), t = s, function(GH14865) {
var b;
b.type, b = {
@ -10,4 +10,4 @@ Example1 || (Example1 = {}), t = s, Example2 || (Example2 = {}), t = s, Example3
return "categorical";
};
getAxisType(), void 0 = getAxisType();
}(GH12052 || (GH12052 = {})), GH39357 || (GH39357 = {});
}(GH12052 || (GH12052 = {}));

View File

@ -1,2 +1,2 @@
var t3, t4, t5;
(void 0)[4], (void 0)[4], t3[4], t4[2], t5[2];
var t2, t3, t4, t5;
(void 0)[4], t2[4], t3[4], t4[2], t5[2];

View File

@ -1,7 +1,7 @@
var M;
import * as swcHelpers from "@swc/helpers";
function f14(param) {
var _param = swcHelpers.slicedToArray(param, 2), tmp = _param[0], ref = swcHelpers.slicedToArray(_param[1], 2), tmp1 = ref[0], ref1 = ref[1];
var _param = swcHelpers.slicedToArray(param, 2), ref = (_param[0], swcHelpers.slicedToArray(_param[1], 2)), ref1 = (ref[0], ref[1]);
ref1.x, ref1.y;
}
function f17(param) {

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
var ref = [], a0 = swcHelpers.slicedToArray(ref[0], 1)[0], ref1 = swcHelpers.slicedToArray(ref[1], 1), ref2 = swcHelpers.slicedToArray(ref1[0], 1);
var ref = [], ref1 = (swcHelpers.slicedToArray(ref[0], 1)[0], swcHelpers.slicedToArray(ref[1], 1)), ref2 = swcHelpers.slicedToArray(ref1[0], 1);
ref2[0];
var _undefined = swcHelpers.slicedToArray(void 0, 2), ref3 = swcHelpers.slicedToArray(_undefined[0], 1), a2 = ref3[0], ref4 = swcHelpers.slicedToArray(_undefined[1], 1), ref5 = swcHelpers.slicedToArray(ref4[0], 1);
var _undefined = swcHelpers.slicedToArray(void 0, 2), ref3 = swcHelpers.slicedToArray(_undefined[0], 1), ref4 = (ref3[0], swcHelpers.slicedToArray(_undefined[1], 1)), ref5 = swcHelpers.slicedToArray(ref4[0], 1);
ref5[0];
var ref6 = swcHelpers.slicedToArray([
1,

View File

@ -1,13 +1,11 @@
import * as swcHelpers from "@swc/helpers";
var ref = [
1
], a = ref[0], tmp = ref[1], ref1 = [
], ref1 = (ref[0], ref[1], [
1
];
ref1[0], ref1[1], ref1[2];
var ref2 = [
]), ref2 = (ref1[0], ref1[1], ref1[2], [
1
];
]);
ref2[0], ref2[1], ref2[2], ref2[3], function(param) {
var _param = swcHelpers.slicedToArray(param, 2);
_param[0], _param[1];

View File

@ -2,4 +2,4 @@ import * as swcHelpers from "@swc/helpers";
var ref = [
"foo"
];
ref[0], ref[1].toUpperCase();
(ref[0], ref[1]).toUpperCase();

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a1(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0];
}
function b2() {
@ -19,7 +19,7 @@ function c2(param) {
param.z;
}
function c5(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}
a1([
@ -74,7 +74,7 @@ a1([
void 0
]
]
], 3), a = swcHelpers.slicedToArray(ref[0], 1)[0], b = ref[1], ref3 = swcHelpers.slicedToArray(ref[2], 1), ref4 = swcHelpers.slicedToArray(ref3[0], 2);
], 3), ref3 = (swcHelpers.slicedToArray(ref[0], 1)[0], ref[1], swcHelpers.slicedToArray(ref[2], 1)), ref4 = swcHelpers.slicedToArray(ref3[0], 2);
ref4[0], ref4[1];
}([
[

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a1(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0];
}
function b2() {
@ -19,7 +19,7 @@ function c2(param) {
param.z;
}
function c5(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}
a1([
@ -74,7 +74,7 @@ a1([
void 0
]
]
], 3), a = swcHelpers.slicedToArray(ref[0], 1)[0], b = ref[1], ref3 = swcHelpers.slicedToArray(ref[2], 1), ref4 = swcHelpers.slicedToArray(ref3[0], 2);
], 3), ref3 = (swcHelpers.slicedToArray(ref[0], 1)[0], ref[1], swcHelpers.slicedToArray(ref[2], 1)), ref4 = swcHelpers.slicedToArray(ref3[0], 2);
ref4[0], ref4[1];
}([
[

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a1(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0];
}
function b2() {
@ -19,7 +19,7 @@ function c2(param) {
param.z;
}
function c5(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}
a1([

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a10(param) {
var _param = swcHelpers.toArray(param), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.toArray(param), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, array = [
@ -19,7 +19,7 @@ function foo1() {
}(swcHelpers.toConsumableArray(array)), (function() {
for(var _len = arguments.length, x = new Array(_len), _key = 0; _key < _len; _key++)x[_key] = arguments[_key];
}).apply(void 0, swcHelpers.toConsumableArray(array)), function(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}([
1,

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a10(param) {
var _param = swcHelpers.toArray(param), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.toArray(param), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, array = [
@ -19,7 +19,7 @@ function foo1() {
}(swcHelpers.toConsumableArray(array)), (function() {
for(var _len = arguments.length, x = new Array(_len), _key = 0; _key < _len; _key++)x[_key] = arguments[_key];
}).apply(void 0, swcHelpers.toConsumableArray(array)), function(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}([
1,

View File

@ -1,6 +1,6 @@
import * as swcHelpers from "@swc/helpers";
function a10(param) {
var _param = swcHelpers.toArray(param), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref1 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.toArray(param), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref1 = swcHelpers.slicedToArray(ref[0], 1);
ref1[0], _param.slice(3);
}
var E, E1, array = [
@ -19,7 +19,7 @@ function foo1() {
}(swcHelpers.toConsumableArray(array)), (function() {
for(var _len = arguments.length, x = new Array(_len), _key = 0; _key < _len; _key++)x[_key] = arguments[_key];
}).apply(void 0, swcHelpers.toConsumableArray(array)), function(param) {
var _param = swcHelpers.slicedToArray(param, 3), a = _param[0], b = _param[1], ref = swcHelpers.slicedToArray(_param[2], 1), ref2 = swcHelpers.slicedToArray(ref[0], 1);
var _param = swcHelpers.slicedToArray(param, 3), ref = (_param[0], _param[1], swcHelpers.slicedToArray(_param[2], 1)), ref2 = swcHelpers.slicedToArray(ref[0], 1);
ref2[0];
}([
1,

View File

@ -9,14 +9,14 @@ var ref = [
void 0,
void 0,
void 0
], tmp1 = ref[0], tmp2 = ref[1], tmp3 = ref[2], ref1 = swcHelpers.slicedToArray([
], ref1 = (ref[0], ref[1], ref[2], swcHelpers.slicedToArray([
1,
"string"
].concat(swcHelpers.toConsumableArray([
!0,
!1,
!0
])), 2);
])), 2));
ref1[0], ref1[1];
var _e = swcHelpers.slicedToArray([
1,
@ -25,12 +25,12 @@ var _e = swcHelpers.slicedToArray([
b1: 4,
b4: 0
}
], 3), e1 = _e[0], e2 = _e[1], tmp4 = _e[2], _f = swcHelpers.slicedToArray([
], 3), _f = (_e[0], _e[1], _e[2], swcHelpers.slicedToArray([
1,
2,
{
f3: 4,
f5: 0
}
], 3), f1 = _f[0], f2 = _f[1], ref2 = _f[2];
], 3)), ref2 = (_f[0], _f[1], _f[2]);
ref2.f3, ref2.f5;

View File

@ -9,14 +9,14 @@ var ref = [
void 0,
void 0,
void 0
], tmp1 = ref[0], tmp2 = ref[1], tmp3 = ref[2], ref1 = swcHelpers.slicedToArray([
], ref1 = (ref[0], ref[1], ref[2], swcHelpers.slicedToArray([
1,
"string"
].concat(swcHelpers.toConsumableArray([
!0,
!1,
!0
])), 2);
])), 2));
ref1[0], ref1[1];
var _e = swcHelpers.slicedToArray([
1,
@ -25,12 +25,12 @@ var _e = swcHelpers.slicedToArray([
b1: 4,
b4: 0
}
], 3), e1 = _e[0], e2 = _e[1], tmp4 = _e[2], _f = swcHelpers.slicedToArray([
], 3), _f = (_e[0], _e[1], _e[2], swcHelpers.slicedToArray([
1,
2,
{
f3: 4,
f5: 0
}
], 3), f1 = _f[0], f2 = _f[1], ref2 = _f[2];
], 3)), ref2 = (_f[0], _f[1], _f[2]);
ref2.f3, ref2.f5;

View File

@ -9,14 +9,14 @@ var ref = [
void 0,
void 0,
void 0
], tmp1 = ref[0], tmp2 = ref[1], tmp3 = ref[2], ref1 = swcHelpers.slicedToArray([
], ref1 = (ref[0], ref[1], ref[2], swcHelpers.slicedToArray([
1,
"string"
].concat(swcHelpers.toConsumableArray([
!0,
!1,
!0
])), 2);
])), 2));
ref1[0], ref1[1];
var _e = swcHelpers.slicedToArray([
1,
@ -25,12 +25,12 @@ var _e = swcHelpers.slicedToArray([
b1: 4,
b4: 0
}
], 3), e1 = _e[0], e2 = _e[1], tmp4 = _e[2], _f = swcHelpers.slicedToArray([
], 3), _f = (_e[0], _e[1], _e[2], swcHelpers.slicedToArray([
1,
2,
{
f3: 4,
f5: 0
}
], 3), f1 = _f[0], f2 = _f[1], ref2 = _f[2];
], 3)), ref2 = (_f[0], _f[1], _f[2]);
ref2.f3, ref2.f5;

View File

@ -10,5 +10,5 @@ var ref1 = [
c3: 4,
c5: 0
}
], c1 = ref1[0], c2 = ref1[1], ref2 = ref1[2];
], ref2 = (ref1[0], ref1[1], ref1[2]);
ref2.c3, ref2.c5, ref1.slice(4);

View File

@ -1,4 +1,4 @@
function foo(func) {}
foo(()=>!0
), foo(()=>!1
), ([{ value , done }])=>{};
);

View File

@ -7,5 +7,4 @@ class C {
return x.toString();
};
}(M || (M = {})), new Date(12), new Object(), new C(), new C(), new class {
}(), new C(), new M.A(), (x)=>"this is a string"
;
}(), new C(), new M.A();

View File

@ -1,6 +1,6 @@
var E, F, a, b, c;
!function(E) {
var E, F, a, b;
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(a, c), Math.pow(b, c), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);
}(F || (F = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);

View File

@ -1,6 +1,6 @@
var E, F, a, b, c;
!function(E) {
var E, F, a, b;
(function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), function(F) {
})(E || (E = {})), function(F) {
F[F.c = 0] = "c", F[F.d = 1] = "d";
}(F || (F = {})), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(a, c), Math.pow(b, c), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);
}(F || (F = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);

View File

@ -1,4 +1,4 @@
var E, a, b, c;
var E, a, b;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(a, c), Math.pow(b, c), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);
}(E || (E = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);

View File

@ -1,4 +1,4 @@
var E, a, b, c;
var E, a, b;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
}(E || (E = {})), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(a, c), Math.pow(b, c), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);
}(E || (E = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, E.b), Math.pow(E.a, 1), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(1, E.b);

View File

@ -1,4 +1,4 @@
var E, a, b, c, d, e, f;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), Math.pow(a, a), Math.pow(a, b), Math.pow(a, c), Math.pow(a, d), Math.pow(a, e), Math.pow(a, f), Math.pow(b, a), Math.pow(b, b), Math.pow(b, c), Math.pow(b, d), Math.pow(b, e), Math.pow(b, f), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(c, d), Math.pow(c, e), Math.pow(c, f), Math.pow(d, a), Math.pow(d, b), Math.pow(d, c), Math.pow(d, d), Math.pow(d, e), Math.pow(d, f), Math.pow(e, a), Math.pow(e, b), Math.pow(e, c), Math.pow(e, d), Math.pow(e, e), Math.pow(e, f), Math.pow(f, a), Math.pow(f, b), Math.pow(f, c), Math.pow(f, d), Math.pow(f, e), Math.pow(f, f), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, c), Math.pow(E.a, d), Math.pow(E.a, e), Math.pow(E.a, f), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(c, E.b), Math.pow(d, E.b), Math.pow(e, E.b), Math.pow(f, E.b);
}(E || (E = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, c), Math.pow(E.a, d), Math.pow(E.a, e), Math.pow(E.a, f), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(c, E.b), Math.pow(d, E.b), Math.pow(e, E.b), Math.pow(f, E.b);

View File

@ -1,4 +1,4 @@
var E, a, b, c, d, e, f;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b", E[E.c = 2] = "c";
}(E || (E = {})), Math.pow(a, a), Math.pow(a, b), Math.pow(a, c), Math.pow(a, d), Math.pow(a, e), Math.pow(a, f), Math.pow(b, a), Math.pow(b, b), Math.pow(b, c), Math.pow(b, d), Math.pow(b, e), Math.pow(b, f), Math.pow(c, a), Math.pow(c, b), Math.pow(c, c), Math.pow(c, d), Math.pow(c, e), Math.pow(c, f), Math.pow(d, a), Math.pow(d, b), Math.pow(d, c), Math.pow(d, d), Math.pow(d, e), Math.pow(d, f), Math.pow(e, a), Math.pow(e, b), Math.pow(e, c), Math.pow(e, d), Math.pow(e, e), Math.pow(e, f), Math.pow(f, a), Math.pow(f, b), Math.pow(f, c), Math.pow(f, d), Math.pow(f, e), Math.pow(f, f), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, c), Math.pow(E.a, d), Math.pow(E.a, e), Math.pow(E.a, f), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(c, E.b), Math.pow(d, E.b), Math.pow(e, E.b), Math.pow(f, E.b);
}(E || (E = {})), Math.pow(E.a, a), Math.pow(E.a, b), Math.pow(E.a, c), Math.pow(E.a, d), Math.pow(E.a, e), Math.pow(E.a, f), Math.pow(a, E.b), Math.pow(b, E.b), Math.pow(c, E.b), Math.pow(d, E.b), Math.pow(e, E.b), Math.pow(f, E.b);

View File

@ -1,4 +1,4 @@
var E, a, b;
(function(E) {
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
})(E || (E = {})), Math.pow(null, a), Math.pow(null, b), Math.pow(null, E.a), Math.pow(a, null), Math.pow(b, null), Math.pow(E.b, null);
}(E || (E = {})), Math.pow(null, E.a), Math.pow(E.b, null);

View File

@ -1,4 +1,4 @@
var E, a, b;
(function(E) {
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
})(E || (E = {})), Math.pow(null, a), Math.pow(null, b), Math.pow(null, E.a), Math.pow(a, null), Math.pow(b, null), Math.pow(E.b, null);
}(E || (E = {})), Math.pow(null, E.a), Math.pow(E.b, null);

View File

@ -1,4 +1,4 @@
var E, a, b;
(function(E) {
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
})(E || (E = {})), Math.pow(void 0, a), Math.pow(void 0, b), Math.pow(void 0, E.a), Math.pow(a, void 0), Math.pow(b, void 0), Math.pow(E.b, void 0);
}(E || (E = {})), Math.pow(void 0, E.a), Math.pow(E.b, void 0);

View File

@ -1,4 +1,4 @@
var E, a, b;
(function(E) {
var E;
!function(E) {
E[E.a = 0] = "a", E[E.b = 1] = "b";
})(E || (E = {})), Math.pow(void 0, a), Math.pow(void 0, b), Math.pow(void 0, E.a), Math.pow(a, void 0), Math.pow(b, void 0), Math.pow(E.b, void 0);
}(E || (E = {})), Math.pow(void 0, E.a), Math.pow(E.b, void 0);

View File

@ -12,6 +12,7 @@ for(!function(M1) {
}(M || (M = {}));;);
for(var M;;);
for(;;);
for(;;);
for(new C();;);
for(new D();;);
for(;;);
@ -19,12 +20,11 @@ for(;;);
for(new C();;);
for(new C2();;);
for(;;);
for((x)=>""
;;);
for(;;);
for(;;);
for(;;);
for(new C(), new C2(), new D();;);
for(new D();;);
for(new Array();;);
for(;;);
for(M.A;;);
M.A;

View File

@ -25,6 +25,7 @@ for(!function(M1) {
}(M || (M = {}));;);
for(;;);
for(;;);
for(;;);
for(new C();;);
for(new D();;);
for(;;);
@ -39,4 +40,4 @@ for(new C(), new C2(), new D();;);
for(new D();;);
for(new Array();;);
for(;;);
for(M.A;;);
M.A;

View File

@ -9,8 +9,8 @@ for(;;);
for(;;);
for(;;);
for(;;);
for((s)=>3
;;);
for(;;);
for(;;);
for(;;);
for(;;);
for(;;);
@ -20,4 +20,3 @@ for(;;);
for(;;);
for(;;);
for(new Array();;);
for(;;);

View File

@ -18,5 +18,5 @@ for(;;);
for(;;);
for(;;);
for(;;);
for(;;);
for(new Array();;);
for(;;);

View File

@ -8,6 +8,7 @@ class C {
}(M || (M = {}));
for(var M;;);
for(;;);
for(;;);
for(new Date(12);;);
for(new Object();;);
for(;;);
@ -21,9 +22,6 @@ for(;;);
for(new C();;);
for(;;);
for(;;);
for((x)=>2
;;);
for(;;);
for(;;);
for(new M.A();;);
for((x)=>"this is a string"
;;);

View File

@ -16,6 +16,7 @@ for(!function(M1) {
};
}(M || (M = {}));;);
for(;;);
for(;;);
for(new Date(12);;);
for(new Object();;);
for(;;);
@ -31,4 +32,3 @@ for(;;);
for(;;);
for(;;);
for(new M.A();;);
for(;;);

View File

@ -1,5 +1,4 @@
var E;
!function(E) {
E[E.red = 0] = "red", E[E.blue = 1] = "blue";
}(E || (E = {})), (num, str)=>(num.toExponential(), 0)
;
}(E || (E = {}));

View File

@ -1,7 +1,7 @@
class Base {
}
new Base();
var x181, x184, x187, x188, x189, x190, x191, x192, x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, d1 = new class extends Base {
var x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, d1 = new class extends Base {
}(), d2 = new class extends Base {
}();
(class {
@ -184,7 +184,7 @@ var x181, x184, x187, x188, x189, x190, x191, x192, x193, x194, x195, x196, x197
d1,
d2
]
}, x181 || (x181 = {}), x184 || (x184 = {}), x187 || (x187 = {}), x188 || (x188 = {}), x189 || (x189 = {}), x190 || (x190 = {}), x191 || (x191 = {}), x192 || (x192 = {}), (x193 || (x193 = {})).t = ()=>[
}, (x193 || (x193 = {})).t = ()=>[
d1,
d2
]

View File

@ -1,5 +1,5 @@
import * as swcHelpers from "@swc/helpers";
var x187, x188, x189, x190, x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, Base = function() {
var x193, x194, x195, x196, x197, x198, x199, x200, x201, x202, x203, x204, Base = function() {
"use strict";
swcHelpers.classCallCheck(this, Base);
}, Derived1 = function(Base1) {
@ -865,7 +865,7 @@ var x85 = function() {
};
swcHelpers.classCallCheck(this, x120), this.parm = parm;
};
x187 || (x187 = {}), x188 || (x188 = {}), x189 || (x189 = {}), x190 || (x190 = {}), (x193 || (x193 = {})).t = function() {
(x193 || (x193 = {})).t = function() {
return [
d1,
d2

View File

@ -1,5 +1,5 @@
var arg, arg3, arg4, arg5;
var arg, arg2, arg3, arg4, arg5;
function foo(arg1) {
return new arg1.cb(null);
}
foo(arg), foo(void 0), foo(arg3), foo(arg), foo(arg4), foo(arg5);
foo(arg), foo(arg2), foo(arg3), foo(arg), foo(arg4), foo(arg5);

View File

@ -1,5 +1,5 @@
var arg, arg3, arg4, arg5;
var arg, arg2, arg3, arg4, arg5;
function foo(arg1) {
return new arg1.cb(null);
}
foo(arg), foo(void 0), foo(arg3), foo(arg), foo(arg4), foo(arg5);
foo(arg), foo(arg2), foo(arg3), foo(arg), foo(arg4), foo(arg5);

View File

@ -1,3 +1,3 @@
var a;
var b;
function foo4(cb) {}
foo4(a), foo4(void 0);
foo4(void 0), foo4(b);

View File

@ -1,3 +1,3 @@
var a;
var b;
function foo4(cb) {}
foo4(a), foo4(void 0);
foo4(void 0), foo4(b);

View File

@ -1,3 +1,3 @@
var a;
var b;
function foo4(cb) {}
foo4(a), foo4(void 0);
foo4(void 0), foo4(b);

View File

@ -1,10 +1,10 @@
var NonGenericParameter, GenericParameter;
!function(NonGenericParameter) {
var a;
var b;
function foo4(cb) {
return new cb(null);
}
foo4(a), foo4(void 0);
foo4(void 0), foo4(b);
}(NonGenericParameter || (NonGenericParameter = {})), function(GenericParameter) {
var a, b, c, c2;
function foo5(cb) {

View File

@ -1,10 +1,9 @@
var NonGenericParameter, GenericParameter;
!function(NonGenericParameter) {
var a;
function foo4(cb) {
return cb;
}
foo4(a), foo4((x)=>x
foo4(void 0), foo4((x)=>x
), foo4((x)=>x
);
}(NonGenericParameter || (NonGenericParameter = {})), function(GenericParameter) {

View File

@ -18,5 +18,4 @@ arrayMap((x)=>x.length
})
), arrayFilter((x)=>x.length > 10
), arrayFilter((x)=>x.value > 10
), flip(zip), (a)=>a
;
), flip(zip);

View File

@ -1 +0,0 @@
globalThis.x, globalThis.y, globalThis.z, globalThis.x, globalThis.y, globalThis.z, globalThis.Float64Array, globalThis.Infinity;

View File

@ -1 +0,0 @@
globalThis.x, globalThis.y, globalThis.z, globalThis.x, globalThis.y, globalThis.z, globalThis.Float64Array, globalThis.Infinity;

View File

@ -1 +1 @@
win.hi, this.hi, globalThis.hi, win.hi, this.hi, globalThis.hi;
win.hi, this.hi, win.hi, this.hi;

View File

@ -1 +1 @@
win.hi, this.hi, globalThis.hi, win.hi, this.hi, globalThis.hi;
win.hi, this.hi, win.hi, this.hi;

View File

@ -1 +1 @@
win.hi, this.hi, globalThis.hi, win.hi, this.hi, globalThis.hi;
win.hi, this.hi, win.hi, this.hi;

View File

@ -1 +1 @@
win.hi, this.hi, globalThis.hi, win.hi, this.hi, globalThis.hi;
win.hi, this.hi, win.hi, this.hi;

View File

@ -1 +1 @@
this.a, this.b, globalThis.a, globalThis.b, self.a, self.b, window.a, window.b, top.a, top.b, this.a, this.b, globalThis.a, globalThis.b, self.a, self.b, window.a, window.b, top.a, top.b;
this.a, this.b, self.a, self.b, window.a, window.b, top.a, top.b, this.a, this.b, self.a, self.b, window.a, window.b, top.a, top.b;

View File

@ -1 +1 @@
this.a, this.b, globalThis.a, globalThis.b, self.a, self.b, window.a, window.b, top.a, top.b, this.a, this.b, globalThis.a, globalThis.b, self.a, self.b, window.a, window.b, top.a, top.b;
this.a, this.b, self.a, self.b, window.a, window.b, top.a, top.b, this.a, this.b, self.a, self.b, window.a, window.b, top.a, top.b;

View File

@ -1,7 +0,0 @@
var base, derived, derived2, WithContextualType;
class Base {
}
class Derived extends Base {
}
Derived || (Derived = {}), WithContextualType || (WithContextualType = {}), ()=>derived2
;

View File

@ -1,5 +1,5 @@
import * as swcHelpers from "@swc/helpers";
var WithContextualType, Base = function() {
var Base = function() {
"use strict";
swcHelpers.classCallCheck(this, Base);
}, Derived = function(Base1) {
@ -19,4 +19,3 @@ var WithContextualType, Base = function() {
}
return Derived2;
}(Base);
Derived || (Derived = {}), WithContextualType || (WithContextualType = {});

View File

@ -1,5 +1,4 @@
module.exports = MyClass, new Foo({
doer: Foo.Bar
}), (r)=>r
;
});
export { };

View File

@ -1,4 +1,4 @@
var E, x, a1, a5, a6, b1, b2, b3, b4, b5;
var E, x;
!function(E) {
E[E.a = 0] = "a";
}(E || (E = {})), a1 in x, (void 0) in x, (void 0) in x, (void 0) in x, null in x, (void 0) in x, E.a in x, !1 in x, {} in x, a5 in x, a6 in x, x in b1, x in b2, x in b3, x in b4, x in b5, x in 0, x in !1, x in "", x in null, x in void 0, {} in "";
}(E || (E = {})), E.a in x;

View File

@ -1,8 +1,8 @@
import * as swcHelpers from "@swc/helpers";
var E, x, a1, a2, a3, a4, a5, a6, b1, b2, b3, b4, b5, Foo = function() {
var E, x, Foo = function() {
"use strict";
swcHelpers.classCallCheck(this, Foo);
};
!function(E) {
E[E.a = 0] = "a";
}(E || (E = {})), a1 in x, a2 in x, a3 in x, a4 in x, null in x, (void 0) in x, E.a in x, !1 in x, {} in x, a5 in x, a6 in x, x in b1, x in b2, x in b3, x in b4, x in b5, x in 0, x in !1, x in "", x in null, x in void 0, {} in "";
}(E || (E = {})), E.a in x;

View File

@ -1,8 +1,6 @@
class C {
method() {
Math.random() ? (this.inMethod = 0, this.inMethodNullable = null) : (this.inMethod = "string", this.inMethodNullable = void 0), this.inMultiple = "string", this.inMultipleMethods = "string", ()=>{
Math.random() ? this.inNestedArrowFunction = 0 : this.inNestedArrowFunction = "string";
};
Math.random() ? (this.inMethod = 0, this.inMethodNullable = null) : (this.inMethod = "string", this.inMethodNullable = void 0), this.inMultiple = "string", this.inMultipleMethods = "string";
}
get() {
Math.random() ? this.inGetter = 0 : this.inGetter = "string", this.inMultiple = !1, this.inMultipleMethods = !1;
@ -11,9 +9,7 @@ class C {
Math.random() ? this.inSetter = 0 : this.inSetter = "string";
}
static method() {
Math.random() ? this.inStaticMethod = 0 : this.inStaticMethod = "string", ()=>{
Math.random() ? this.inStaticNestedArrowFunction = 0 : this.inStaticNestedArrowFunction = "string";
};
Math.random() ? this.inStaticMethod = 0 : this.inStaticMethod = "string";
}
static get() {
Math.random() ? this.inStaticGetter = 0 : this.inStaticGetter = "string";

View File

@ -6,5 +6,4 @@ const x1 = {
a: "foo",
b: !0
};
x1[k] = "bar", x2[k] = "bar", s2 = s1 = s2, t2 = t1 = t2, (t)=>t
;
x1[k] = "bar", x2[k] = "bar", s2 = s1 = s2, t2 = t1 = t2;

View File

@ -1 +1,2 @@
(void 0)("abc"), (void 0)("abc");
var gf;
(void 0)("abc"), gf("abc");

View File

@ -1 +1,2 @@
(void 0)("abc"), (void 0)("abc");
var gf;
(void 0)("abc"), gf("abc");

View File

@ -5,9 +5,9 @@ class C2 extends C {
}
class D {
}
(function(M1) {
!function(M1) {
M1.A = class {
}, M1.F2 = function(x) {
return x.toString();
};
})(M || (M = {})), new C(), new D(), new C(), new C2(), new C(), new C2(), new D(), new D(), new Array(), M.A;
}(M || (M = {})), new C(), new D(), new C(), new C2(), new C(), new C2(), new D(), new D(), new Array(), M.A;

View File

@ -30,5 +30,5 @@ var Bar = function() {
(function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2);
void 0 === swcHelpers.slicedToArray(__tmp[0], 1)[0] && new Foo, void 0 === __tmp[1] && new Foo;
void 0 === (void 0 === swcHelpers.slicedToArray(__tmp[0], 1)[0] && new Foo, __tmp[1]) && new Foo;
}).apply(void 0, swcHelpers.toConsumableArray(new FooArrayIterator));

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
!function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), k1 = ref[0], v1 = ref[1], ref1 = swcHelpers.slicedToArray(__tmp[1], 2);
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), ref1 = (ref[0], ref[1], swcHelpers.slicedToArray(__tmp[1], 2));
ref1[0], ref1[1];
}(new Map([
[

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
!function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), k1 = ref[0], v1 = ref[1], ref1 = swcHelpers.slicedToArray(__tmp[1], 2);
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), ref1 = (ref[0], ref[1], swcHelpers.slicedToArray(__tmp[1], 2));
ref1[0], ref1[1];
}(new Map([
[

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
(function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), k1 = ref[0], v1 = ref[1], ref1 = swcHelpers.slicedToArray(__tmp[1], 2);
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), ref1 = (ref[0], ref[1], swcHelpers.slicedToArray(__tmp[1], 2));
ref1[0], ref1[1];
}).apply(void 0, swcHelpers.toConsumableArray(new Map([
[

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
(function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), k1 = ref[0], v1 = ref[1], ref1 = swcHelpers.slicedToArray(__tmp[1], 2);
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), ref1 = (ref[0], ref[1], swcHelpers.slicedToArray(__tmp[1], 2));
ref1[0], ref1[1];
}).apply(void 0, swcHelpers.toConsumableArray(new Map([
[

View File

@ -1,7 +1,7 @@
import * as swcHelpers from "@swc/helpers";
(function() {
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++)_tmp[_key] = arguments[_key];
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), k1 = ref[0], v1 = ref[1], ref1 = swcHelpers.slicedToArray(__tmp[1], 2);
var __tmp = swcHelpers.slicedToArray(_tmp, 2), ref = swcHelpers.slicedToArray(__tmp[0], 2), ref1 = (ref[0], ref[1], swcHelpers.slicedToArray(__tmp[1], 2));
ref1[0], ref1[1];
}).apply(void 0, swcHelpers.toConsumableArray(new Map([
[

View File

@ -8,5 +8,5 @@ var ref = swcHelpers.slicedToArray(new Map([
"hello",
!0
]
]), 2), ref1 = swcHelpers.slicedToArray(ref[0], 2), k1 = ref1[0], v1 = ref1[1], ref2 = swcHelpers.slicedToArray(ref[1], 2);
]), 2), ref1 = swcHelpers.slicedToArray(ref[0], 2), ref2 = (ref1[0], ref1[1], swcHelpers.slicedToArray(ref[1], 2));
ref2[0], ref2[1];

View File

@ -3,5 +3,4 @@ class Base {
}
const BaseFactory = ()=>new Base()
;
BaseFactory.Base = Base, module.exports = BaseFactory, (base)=>base
;
BaseFactory.Base = Base, module.exports = BaseFactory;

View File

@ -1,4 +1,5 @@
(void 0).foo(1), (void 0).foo(2), (class {
var d;
(void 0).foo(1), d.foo(2), (class {
foo(x, y) {}
bar(x, y) {}
static foo(x, y) {}

View File

@ -1 +1,2 @@
(void 0).foo(1), (void 0).foo(2);
var d;
(void 0).foo(1), d.foo(2);

View File

@ -2,8 +2,7 @@
constructor(){
this.d = function() {
return new.target;
}, new.target, ()=>new.target
;
}, new.target;
}
}).c = function() {
return new.target;

View File

@ -2,8 +2,7 @@
constructor(){
this.d = function() {
return new.target;
}, new.target, ()=>new.target
;
}, new.target;
}
}).c = function() {
return new.target;

View File

@ -5,6 +5,4 @@ var NumericEnum1, NumericEnum2, StringEnum1;
NumericEnum2[NumericEnum2.A = 0] = "A", NumericEnum2[NumericEnum2.B = 1] = "B", NumericEnum2[NumericEnum2.C = 2] = "C";
}(NumericEnum2 || (NumericEnum2 = {})), function(StringEnum1) {
StringEnum1.A = "Alpha", StringEnum1.B = "Beta";
}(StringEnum1 || (StringEnum1 = {})), strMap.foo, strMap.bar, strMap[0], strMap[0], strMap[0], strMap[0], strMap.foo, strMap[NumericEnum1.A], strMap[NumericEnum2.A], strMap[StringEnum1.A], strMap[StringEnum1.A], strMap[NumericEnum1.A], strMap[NumericEnum2.A], strMap[null], strMap.foo, strMap.bar, strMap.baz = void 0, strMap.qua = void 0, strMap[0] = void 0, strMap[null] = void 0, numMap[0], numMap[0], numMap[0], numMap[NumericEnum1.A], numMap[NumericEnum2.A], obj1.x, obj1.y, obj1.y, obj1.z, strMapUnion.foo, symbolMap[s], symbolMap[s] = void 0, nonEmptyStringArray[0], nonEmptyStringArray[1], (key)=>{
myRecord2[key] = void 0, myRecord2[key];
};
}(StringEnum1 || (StringEnum1 = {})), strMap.foo, strMap.bar, strMap[0], strMap[0], strMap[0], strMap[0], strMap.foo, strMap[NumericEnum1.A], strMap[NumericEnum2.A], strMap[StringEnum1.A], strMap[StringEnum1.A], strMap[NumericEnum1.A], strMap[NumericEnum2.A], strMap[null], strMap.foo, strMap.bar, strMap.baz = void 0, strMap.qua = void 0, strMap[0] = void 0, strMap[null] = void 0, numMap[0], numMap[0], numMap[0], numMap[NumericEnum1.A], numMap[NumericEnum2.A], obj1.x, obj1.y, obj1.y, obj1.z, strMapUnion.foo, symbolMap[s], symbolMap[s] = void 0, nonEmptyStringArray[0], nonEmptyStringArray[1];

View File

@ -2,4 +2,4 @@ var m;
!function(m1) {
var x;
m1.x = x;
}(m || (m = {})), m || (m = {}), x, x;
}(m || (m = {})), m || (m = {}), x;

View File

@ -2,4 +2,4 @@ var m;
!function(m1) {
var x;
m1.x = x;
}(m || (m = {})), m || (m = {}), x, x, x;
}(m || (m = {})), m || (m = {}), x;

View File

@ -2,4 +2,4 @@ var m;
!function(m1) {
var x;
m1.x = x;
}(m || (m = {})), m || (m = {}), x, x;
}(m || (m = {})), m || (m = {}), x;

View File

@ -2,4 +2,4 @@ var m;
!function(m1) {
var x;
m1.x = x;
}(m || (m = {})), m || (m = {}), x, x, x;
}(m || (m = {})), m || (m = {}), x;

View File

@ -10,9 +10,9 @@ suddenly(function(_param) {
ka: 1
},
y: "noo"
}, _z = _param.x.z, nested = swcHelpers.objectWithoutProperties(_param.x, [
}, nested = (_param.x.z, swcHelpers.objectWithoutProperties(_param.x, [
"z"
]), rest = swcHelpers.objectWithoutProperties(_param, [
])), rest = swcHelpers.objectWithoutProperties(_param, [
"x"
]);
return rest.y + nested.ka;

View File

@ -10,9 +10,9 @@ suddenly(function(_param) {
ka: 1
},
y: "noo"
}, _z = _param.x.z, nested = swcHelpers.objectWithoutProperties(_param.x, [
}, nested = (_param.x.z, swcHelpers.objectWithoutProperties(_param.x, [
"z"
]), rest = swcHelpers.objectWithoutProperties(_param, [
])), rest = swcHelpers.objectWithoutProperties(_param, [
"x"
]);
return rest.y + nested.ka;

View File

@ -87,9 +87,4 @@ var { [computed]: stillNotGreat , [computed2]: soSo } = o, o = swcHelpers.objec
_o = o, o = swcHelpers.objectWithoutProperties(_o, [
computed,
computed2
].map(swcHelpers.toPropertyKey)), ({ [computed]: stillNotGreat , [computed2]: soSo } = _o), (_param)=>{
var { aNumber =12 } = _param;
return aNumber + swcHelpers.objectWithoutProperties(_param, [
"aNumber"
]).anythingGoes;
};
].map(swcHelpers.toPropertyKey)), { [computed]: stillNotGreat , [computed2]: soSo } = _o;

View File

@ -77,10 +77,10 @@ var i = removable;
i.removed, swcHelpers.objectWithoutProperties(i, [
"removed"
]);
var computed = "b", computed2 = "a", stillNotGreat = o[computed], soSo = o[computed2], o = swcHelpers.objectWithoutProperties(o, [
var computed = "b", computed2 = "a", o = (o[computed], o[computed2], swcHelpers.objectWithoutProperties(o, [
computed,
computed2
].map(swcHelpers.toPropertyKey));
].map(swcHelpers.toPropertyKey)));
_o = o, o = swcHelpers.objectWithoutProperties(_o, [
computed,
computed2

View File

@ -1,4 +1,4 @@
var b;
(void 0).valueOf(), (void 0).valueOf(), ({
var i, b;
(void 0).valueOf(), i.valueOf(), ({
valueOf: ()=>{}
}).valueOf(), b.valueOf();

View File

@ -23,5 +23,4 @@ fun((x)=>x
, 10), fun(0.5 > Math.random() ? (x)=>x
: (x)=>void 0
, (x)=>x
, 10), (y)=>void 0
;
, 10);

View File

@ -21,5 +21,4 @@ fun((x)=>(x(void 0), x)
, 10), fun(0.5 > Math.random() ? (x)=>(x(void 0), x)
: (x)=>void 0
, (x)=>(x(void 0), x)
, 10), (y)=>void 0
;
, 10);

View File

@ -1 +1 @@
a, a, a, b, a = 1, b = 2;
a, a, a = 1, b = 2;

View File

@ -1 +1 @@
a, a, a, b, a = 1, b = 2;
a, a, a = 1, b = 2;

Some files were not shown because too many files have changed in this diff Show More