file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/set_mutable_2/input.js | JavaScript | !(function a() {
a.foo += "";
if (a.foo) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/set_mutable_2/output.js | JavaScript | !(function a() {
(a.foo += "") ? console.log("PASS") : console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/set_mutable_2/output.mangleOnly.js | JavaScript | !(function o() {
o.foo += "";
if (o.foo) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/set_mutable_2/output.terser.js | JavaScript | !(function a() {
(a.foo += "") ? console.log("PASS") : console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict/input.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict/output.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict/output.mangleOnly.js | JavaScript | var p, o = null, r = {};
p.prop;
o.prop;
r.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict/output.terser.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict_reduce_vars/input.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict_reduce_vars/output.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
d.prop;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict_reduce_vars/output.mangleOnly.js | JavaScript | var p, o = null, r = {};
p.prop;
o.prop;
r.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/strict_reduce_vars/output.terser.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
d.prop;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe/input.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe/output.js | JavaScript | var a,
b = null,
c = {};
d;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe/output.mangleOnly.js | JavaScript | var p, o = null, r = {};
p.prop;
o.prop;
r.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe/output.terser.js | JavaScript | var a,
b = null,
c = {};
d;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe_reduce_vars/input.js | JavaScript | var a,
b = null,
c = {};
a.prop;
b.prop;
c.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe_reduce_vars/output.js | JavaScript | var a,
b = null,
c = {};
d;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe_reduce_vars/output.mangleOnly.js | JavaScript | var p, o = null, r = {};
p.prop;
o.prop;
r.prop;
d.prop;
null.prop;
(void 0).prop;
undefined.prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_getters/unsafe_reduce_vars/output.terser.js | JavaScript | var a,
b = null,
c = {};
d;
null.prop;
(void 0).prop;
(void 0).prop;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_globals/globals_whose_access_is_pure/input.js | JavaScript | try {
Promise;
Number;
Object;
String;
Array;
} catch (e) {
console.log("side effect!");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_globals/globals_whose_access_is_pure/output.mangleOnly.js | JavaScript | try {
Promise;
Number;
Object;
String;
Array;
} catch (e) {
console.log("side effect!");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_globals/window_access_is_impure/input.js | JavaScript | try {
window;
} catch (e) {
console.log("PASS");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/pure_globals/window_access_is_impure/output.mangleOnly.js | JavaScript | try {
window;
} catch (o) {
console.log("PASS");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_1/input.js | JavaScript | var a = 1;
console.log(
{
get a() {
a = 2;
return a;
},
b: 1,
}.b,
a
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_1/output.js | JavaScript | var a = 1;
console.log(
{
get a() {
a = 2;
return a;
},
b: 1,
}.b,
a
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_1/output.mangleOnly.js | JavaScript | var e = 1;
console.log({
get a () {
e = 2;
return e;
},
b: 1
}.b, e);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_1/output.terser.js | JavaScript | var a = 1;
console.log(
{
get a() {
a = 2;
return a;
},
b: 1,
}.b,
a
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_2/input.js | JavaScript | var A = 1;
var B = {
get c() {
console.log(A);
},
};
B.c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_2/output.js | JavaScript | ({
get c() {
console.log(1);
},
}.c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_2/output.mangleOnly.js | JavaScript | var c = 1;
var o = {
get c () {
console.log(c);
}
};
o.c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/accessor_2/output.terser.js | JavaScript | ({
get c() {
console.log(1);
},
}.c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_1/input.js | JavaScript | var a = [1, 2, 3];
for (var b in a) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_1/output.js | JavaScript | for (var b in [1, 2, 3]) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_1/output.mangleOnly.js | JavaScript | var o = [
1,
2,
3
];
for(var r in o)console.log(r);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_1/output.terser.js | JavaScript | for (var b in [1, 2, 3]) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_2/input.js | JavaScript | var a = [];
for (var b in [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_2/output.js | JavaScript | var a = [];
for (var b in [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_2/output.mangleOnly.js | JavaScript | var o = [];
for(var l in [
1,
2,
3
])o.push(l);
console.log(o.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forin_2/output.terser.js | JavaScript | var a = [];
for (var b in [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_1/input.js | JavaScript | var a = [1, 2, 3];
for (var b of a) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_1/output.js | JavaScript | for (var b of [1, 2, 3]) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_1/output.mangleOnly.js | JavaScript | var o = [
1,
2,
3
];
for (var r of o)console.log(r);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_1/output.terser.js | JavaScript | for (var b of [1, 2, 3]) console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_2/input.js | JavaScript | var a = [];
for (var b of [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_2/output.js | JavaScript | var a = [];
for (var b of [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_2/output.mangleOnly.js | JavaScript | var o = [];
for (var l of [
1,
2,
3
])o.push(l);
console.log(o.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/array_forof_2/output.terser.js | JavaScript | var a = [];
for (var b of [1, 2, 3]) a.push(b);
console.log(a.length);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/boolean_binary_assign/input.js | JavaScript | !(function () {
var a;
void 0 && (a = 1);
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/boolean_binary_assign/output.js | JavaScript | !function() {
var a;
console.log(a);
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/boolean_binary_assign/output.mangleOnly.js | JavaScript | !(function() {
var o;
void 0 && (o = 1);
console.log(o);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/boolean_binary_assign/output.terser.js | JavaScript | !(function () {
var a;
void 0;
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/booleans/input.js | JavaScript | console.log(
(function (a) {
if (a != 0);
switch (a) {
case 0:
return "FAIL";
case false:
return "PASS";
}
})(false)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/booleans/output.js | JavaScript | console.log(
(function (a) {
if (0 != a);
switch (a) {
case 0:
return "FAIL";
case !1:
return "PASS";
}
})(!1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/booleans/output.mangleOnly.js | JavaScript | console.log((function(e) {
if (e != 0) ;
switch(e){
case 0:
return "FAIL";
case false:
return "PASS";
}
})(false));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/booleans/output.terser.js | JavaScript | console.log(
(function (a) {
if (0);
switch (a) {
case 0:
return "FAIL";
case !1:
return "PASS";
}
})(!1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/catch_var/input.js | JavaScript | try {
throw {};
} catch (e) {
var e;
console.log(!!e);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/catch_var/output.js | JavaScript | try {
throw {};
} catch (e) {
var e;
console.log(!!e);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/catch_var/output.mangleOnly.js | JavaScript | try {
throw {};
} catch (o) {
var o;
console.log(!!o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/catch_var/output.terser.js | JavaScript | try {
throw {};
} catch (e) {
var e;
console.log(!!e);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/chained_assignments/input.js | JavaScript | function f() {
var a = [94, 173, 190, 239];
var b = 0;
b |= a[0];
b <<= 8;
b |= a[1];
b <<= 8;
b |= a[2];
b <<= 8;
b |= a[3];
return b;
}
console.log(f().toString(16));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/chained_assignments/output.js | JavaScript | console.log("5eadbeef");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/chained_assignments/output.mangleOnly.js | JavaScript | function n() {
var n = [
94,
173,
190,
239
];
var o = 0;
o |= n[0];
o <<= 8;
o |= n[1];
o <<= 8;
o |= n[2];
o <<= 8;
o |= n[3];
return o;
}
console.log(n().toString(16));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/chained_assignments/output.terser.js | JavaScript | console.log("5eadbeef");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/cond_assign/input.js | JavaScript | !(function () {
var a;
void 0 ? (a = 1) : 0;
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/cond_assign/output.js | JavaScript | !function() {
var a;
console.log(a);
}();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/cond_assign/output.mangleOnly.js | JavaScript | !(function() {
var o;
void 0 ? (o = 1) : 0;
console.log(o);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/cond_assign/output.terser.js | JavaScript | !(function () {
var a;
void 0 ? (a = 1) : 0;
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call/input.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.c((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call/output.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.c((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call/output.mangleOnly.js | JavaScript | global.a = {
b: null
};
let l = "PASS";
a.b?.c((l = "FAIL"));
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call/output.terser.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.c((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call_direct/input.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call_direct/output.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call_direct/output.mangleOnly.js | JavaScript | global.a = {
b: null
};
let l = "PASS";
a.b?.((l = "FAIL"));
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_call_direct/output.terser.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_and_uncertain_part/input.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b?.[(foo = "PASS")]?.d((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_and_uncertain_part/output.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b?.[(foo = "PASS")]?.d((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_and_uncertain_part/output.mangleOnly.js | JavaScript | global.a = {
b: null
};
let l = "FAIL";
a.b?.[(l = "PASS")]?.d((l = "FAIL"));
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_and_uncertain_part/output.terser.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b?.[(foo = "PASS")]?.d((foo = "FAIL"));
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_part/input.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b.c((foo = "PASS"))?.x;
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_part/output.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b.c((foo = "PASS"))?.x;
console.log("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_part/output.mangleOnly.js | JavaScript | global.a = {
b: null
};
let l = "FAIL";
a.b.c((l = "PASS"))?.x;
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_certain_part/output.terser.js | JavaScript | global.a = { b: null };
let foo = "FAIL";
a.b.c((foo = "PASS"))?.x;
console.log("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop/input.js | JavaScript | global.a = null;
let foo = "PASS";
a?.b[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop/output.js | JavaScript | global.a = null;
let foo = "PASS";
a?.b[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop/output.mangleOnly.js | JavaScript | global.a = null;
let l = "PASS";
a?.b[(l = "FAIL")];
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop/output.terser.js | JavaScript | global.a = null;
let foo = "PASS";
a?.b[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop_direct/input.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop_direct/output.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop_direct/output.mangleOnly.js | JavaScript | global.a = {
b: null
};
let l = "PASS";
a.b?.[(l = "FAIL")];
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_chain_prop_direct/output.terser.js | JavaScript | global.a = { b: null };
let foo = "PASS";
a.b?.[(foo = "FAIL")];
console.log(foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_1/input.js | JavaScript | var a = 1,
b = 0;
(function f(c) {
function g() {
c && (c.a = 0);
c && (c.a = 0);
c && (c[b++] *= 0);
}
g(a-- && f(g((c = 42))));
})();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_1/output.js | JavaScript | var a = 1,
b = 0;
(function f(c) {
function g() {
c && (c.a = 0);
c && (c.a = 0);
c && (c[b++] *= 0);
}
g(a-- && f(g((c = 42))));
})();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_1/output.mangleOnly.js | JavaScript | var n = 1, o = 0;
(function a(c) {
function f() {
c && (c.a = 0);
c && (c.a = 0);
c && (c[o++] *= 0);
}
f(n-- && a(f((c = 42))));
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_1/output.terser.js | JavaScript | var a = 1,
b = 0;
(function f(c) {
function g() {
c && (c.a = 0);
c && (c.a = 0);
c && (c[b++] *= 0);
}
g(a-- && f(g((c = 42))));
})();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_2/input.js | JavaScript | var c = 0;
(function (a) {
function f() {
a && c++;
}
f(!c && f(), (a = 1));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_2/output.js | JavaScript | var c = 0;
(function (a) {
function f() {
a && c++;
}
f(!c && f(), (a = 1));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_2/output.mangleOnly.js | JavaScript | var n = 0;
(function(o) {
function c() {
o && n++;
}
c(!n && c(), (o = 1));
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_2/output.terser.js | JavaScript | var c = 0;
(function (a) {
function f() {
a && c++;
}
f(!c && f(), (a = 1));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.