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/join_vars/only_vars/output.mangleOnly.js | JavaScript | let t = "";
for(let e = 0; e < netmaskBits; ++e){
t += "1";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/join_vars/only_vars/output.terser.js | JavaScript | let netmaskBinary = "";
for (let i = 0; i < netmaskBits; ++i) netmaskBinary += "1";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_classnames/input.js | JavaScript | function foo() {
class Bar {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_classnames/output.js | JavaScript | function foo() {
class o {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_classnames/output.mangleOnly.js | JavaScript | function c() {
class c {
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_classnames/output.terser.js | JavaScript | function foo() {
class o {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_fnames/input.js | JavaScript | function foo() {
function bar() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_fnames/output.js | JavaScript | function foo() {
function o() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_fnames/output.mangleOnly.js | JavaScript | function n() {
function n() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/drop_fnames/output.terser.js | JavaScript | function foo() {
function o() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_classnames/input.js | JavaScript | function foo() {
class Bar {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_classnames/output.js | JavaScript | function foo() {
class Bar {
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_classnames/output.mangleOnly.js | JavaScript | function c() {
class c {
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_classnames/output.terser.js | JavaScript | function foo() {
class Bar {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames/input.js | JavaScript | function foo() {
function bar() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames/output.js | JavaScript | function foo() {
function bar() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames/output.mangleOnly.js | JavaScript | function n() {
function n() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames/output.terser.js | JavaScript | function foo() {
function bar() {
return "foobar";
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames_and_avoid_collisions/input.js | JavaScript | global.t = "ttttttttttttttttttttt";
(function testBug() {
var param1 = "PASS";
return () => {
console.log(param1);
var t = function () {};
return t;
};
})()();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_fnames_and_avoid_collisions/output.mangleOnly.js | JavaScript | global.t = "ttttttttttttttttttttt";
(function t() {
var t = "PASS";
return ()=>{
console.log(t);
var n = function() {};
return n;
};
})()();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_classnames/input.js | JavaScript | function foo() {
class Bar {}
class BarElement {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_classnames/output.js | JavaScript | function foo() {
class s {}
class BarElement {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_classnames/output.mangleOnly.js | JavaScript | function s() {
class s {
}
class c {
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_classnames/output.terser.js | JavaScript | function foo() {
class s {}
class BarElement {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames/input.js | JavaScript | function foo() {
function bar() {}
function barElement() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames/output.js | JavaScript | function foo() {
function n() {}
function barElement() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames/output.mangleOnly.js | JavaScript | function n() {
function n() {}
function c() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames/output.terser.js | JavaScript | function foo() {
function n() {}
function barElement() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames_reduce/input.js | JavaScript | function foo() {
var array = [];
function bar() {}
array.map(bar);
function barElement() {}
array.map(barElement);
var aElement = () => {};
array.map(aElement);
array.map(aElement);
var bElement = function () {};
array.map(bElement);
array.map(bElement);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames_reduce/output.js | JavaScript | function foo() {
var a = [];
a.map(function () {});
a.map(function barElement() {});
var aElement = () => {};
a.map(aElement);
a.map(aElement);
var bElement = function () {};
a.map(bElement);
a.map(bElement);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames_reduce/output.mangleOnly.js | JavaScript | function a() {
var a = [];
function n() {}
a.map(n);
function m() {}
a.map(m);
var p = ()=>{};
a.map(p);
a.map(p);
var c = function() {};
a.map(c);
a.map(c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_some_fnames_reduce/output.terser.js | JavaScript | function foo() {
var a = [];
a.map(function () {});
a.map(function barElement() {});
var aElement = () => {};
a.map(aElement);
a.map(aElement);
var bElement = function () {};
a.map(bElement);
a.map(bElement);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_var_fnames/input.js | JavaScript | const foo = function () {
return "barfoo";
};
const bar = () => "foobar";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_var_fnames/output.js | JavaScript | const foo = function () {
return "barfoo";
};
const bar = () => "foobar";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_var_fnames/output.mangleOnly.js | JavaScript | const o = function() {
return "barfoo";
};
const n = ()=>"foobar";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_names/keep_var_fnames/output.terser.js | JavaScript | const foo = function () {
return "barfoo";
};
const bar = () => "foobar";
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_quoted_strict/keep_quoted_strict/input.js | JavaScript | var a = {
propa: 1,
get propb() {
return 2;
},
propc: 3,
get propd() {
return 4;
},
};
var b = {
propa: 5,
get propb() {
return 6;
},
propc: 7,
get propd() {
return 8;
},
};
var c = {};
Object.defineProperty(c, "propa", { value: 9 });
Object.defineProperty(c, "propc", { value: 10 });
console.log(a.propa, a.propb, a.propc, a["propc"], a.propd, a["propd"]);
console.log(b["propa"], b["propb"], b.propc, b["propc"], b.propd, b["propd"]);
console.log(c.propa, c["propc"]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_quoted_strict/keep_quoted_strict/output.js | JavaScript | var propa = 1;
var a = {
p: propa,
get o() {
return 2;
},
propc: 3,
get propd() {
return 4;
},
};
var b = {
propa: 5,
get propb() {
return 6;
},
propc: 7,
get propd() {
return 8;
},
};
var c = {};
Object.defineProperty(c, "p", { value: 9 });
Object.defineProperty(c, "propc", { value: 10 });
console.log(a.p, a.o, a.propc, a.propc, a.propd, a.propd);
console.log(b.propa, b.propb, b.propc, b.propc, b.propd, b.propd);
console.log(c.p, c.propc);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_quoted_strict/keep_quoted_strict/output.mangleOnly.js | JavaScript | var p = {
propa: 1,
get propb () {
return 2;
},
propc: 3,
get propd () {
return 4;
}
};
var r = {
propa: 5,
get propb () {
return 6;
},
propc: 7,
get propd () {
return 8;
}
};
var o = {};
Object.defineProperty(o, "propa", {
value: 9
});
Object.defineProperty(o, "propc", {
value: 10
});
console.log(p.propa, p.propb, p.propc, p["propc"], p.propd, p["propd"]);
console.log(r["propa"], r["propb"], r.propc, r["propc"], r.propd, r["propd"]);
console.log(o.propa, o["propc"]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/keep_quoted_strict/keep_quoted_strict/output.terser.js | JavaScript | var a = {
p: 1,
get o() {
return 2;
},
propc: 3,
get propd() {
return 4;
},
};
var b = {
propa: 5,
get propb() {
return 6;
},
propc: 7,
get propd() {
return 8;
},
};
var c = {};
Object.defineProperty(c, "p", { value: 9 });
Object.defineProperty(c, "propc", { value: 10 });
console.log(a.p, a.o, a.propc, a.propc, a.propd, a.propd);
console.log(b.propa, b.propb, b.propc, b.propc, b.propd, b.propd);
console.log(c.p, c.propc);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_1/input.js | JavaScript | out: {
if (foo) break out;
console.log("bar");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_1/output.js | JavaScript | foo || console.log("bar");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_1/output.mangleOnly.js | JavaScript | o: {
if (foo) break o;
console.log("bar");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_1/output.terser.js | JavaScript | foo || console.log("bar");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_10/input.js | JavaScript | out: while (foo) {
x();
y();
break out;
z();
k();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_10/output.js | JavaScript | while(foo){
x();
y();
break;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_10/output.mangleOnly.js | JavaScript | e: while(foo){
x();
y();
break e;
z();
k();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_10/output.terser.js | JavaScript | out: while (foo) {
x();
y();
break out;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_2/input.js | JavaScript | out: {
if (foo) print("stuff");
else break out;
console.log("here");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_2/output.js | JavaScript | if (foo) {
print("stuff");
console.log("here");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_2/output.mangleOnly.js | JavaScript | e: {
if (foo) print("stuff");
else break e;
console.log("here");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_2/output.terser.js | JavaScript | if (foo) {
print("stuff");
console.log("here");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_3/input.js | JavaScript | for (var i = 0; i < 5; ++i) {
if (i < 3) continue;
console.log(i);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_3/output.js | JavaScript | for (var i = 0; i < 5; ++i) i < 3 || console.log(i);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_3/output.mangleOnly.js | JavaScript | for(var o = 0; o < 5; ++o){
if (o < 3) continue;
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_3/output.terser.js | JavaScript | for (var i = 0; i < 5; ++i) i < 3 || console.log(i);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_4/input.js | JavaScript | out: for (var i = 0; i < 5; ++i) {
if (i < 3) continue out;
console.log(i);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_4/output.js | JavaScript | for (var i = 0; i < 5; ++i) i < 3 || console.log(i);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_4/output.mangleOnly.js | JavaScript | o: for(var o = 0; o < 5; ++o){
if (o < 3) continue o;
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_4/output.terser.js | JavaScript | for (var i = 0; i < 5; ++i) i < 3 || console.log(i);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_5/input.js | JavaScript | while (foo) {
if (bar) break;
console.log("foo");
}
out: while (foo) {
if (bar) break out;
console.log("foo");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_5/output.js | JavaScript | while(foo){
if (bar) break;
console.log("foo");
}
while(foo){
if (bar) break;
console.log("foo");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_5/output.mangleOnly.js | JavaScript | while(foo){
if (bar) break;
console.log("foo");
}
o: while(foo){
if (bar) break o;
console.log("foo");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_5/output.terser.js | JavaScript | while (foo) {
if (bar) break;
console.log("foo");
}
out: while (foo) {
if (bar) break out;
console.log("foo");
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_6/input.js | JavaScript | out: break out;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_6/output.mangleOnly.js | JavaScript | a: break a;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_7/input.js | JavaScript | while (foo) {
x();
y();
continue;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_7/output.js | JavaScript | while (foo) {
x();
y();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_7/output.mangleOnly.js | JavaScript | while(foo){
x();
y();
continue;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_7/output.terser.js | JavaScript | while (foo) {
x();
y();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_8/input.js | JavaScript | while (foo) {
x();
y();
break;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_8/output.js | JavaScript | while (foo) {
x();
y();
break;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_8/output.mangleOnly.js | JavaScript | while(foo){
x();
y();
break;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_8/output.terser.js | JavaScript | while (foo) {
x();
y();
break;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_9/input.js | JavaScript | out: while (foo) {
x();
y();
continue out;
z();
k();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_9/output.js | JavaScript | while (foo) {
x();
y();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_9/output.mangleOnly.js | JavaScript | o: while(foo){
x();
y();
continue o;
z();
k();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/labels/labels_9/output.terser.js | JavaScript | while (foo) {
x();
y();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/.assignment_in_left_part/input.js | JavaScript | var status = "FAIL";
var x = {};
x[(status = "PASS")] ||= 1;
console.log(status);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part/input.js | JavaScript | var status = "PASS";
var nil = null;
var nil_prop = { prop: null };
nil &&= console.log((status = "FAIL"));
nil_prop.prop &&= console.log((status = "FAIL"));
console.log(status);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part/output.js | JavaScript | var status = "PASS";
var nil = null;
nil &&= console.log((status = "FAIL"));
({ prop: null }.prop &&= console.log((status = "FAIL")));
console.log(status);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part/output.mangleOnly.js | JavaScript | var o = "PASS";
var l = null;
var n = {
prop: null
};
l &&= console.log((o = "FAIL"));
n.prop &&= console.log((o = "FAIL"));
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part/output.terser.js | JavaScript | var status = "PASS";
var nil = null;
nil &&= console.log((status = "FAIL"));
({ prop: null }.prop &&= console.log((status = "FAIL")));
console.log(status);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part_reused/input.js | JavaScript | var status = "PASS";
var nil = null;
var nil_prop = { prop: null };
nil &&= console.log((status = "FAIL"));
nil_prop.prop &&= console.log((status = "FAIL"));
console.log(status, nil, nil_prop.prop);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part_reused/output.js | JavaScript | var status = "PASS";
var nil = null;
var nil_prop = { prop: null };
nil &&= console.log((status = "FAIL"));
nil_prop.prop &&= console.log((status = "FAIL"));
console.log(status, nil, nil_prop.prop);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part_reused/output.mangleOnly.js | JavaScript | var o = "PASS";
var l = null;
var p = {
prop: null
};
l &&= console.log((o = "FAIL"));
p.prop &&= console.log((o = "FAIL"));
console.log(o, l, p.prop);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assign_in_conditional_part_reused/output.terser.js | JavaScript | var status = "PASS";
var nil = null;
var nil_prop = { prop: null };
nil &&= console.log((status = "FAIL"));
nil_prop.prop &&= console.log((status = "FAIL"));
console.log(status, nil, nil_prop.prop);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assignment_in_left_part_2/input.js | JavaScript | var status = "FAIL";
var x = { PASS: false };
x[(status = id("PASS"))] ||= "PASS";
console.log(status, x.PASS);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assignment_in_left_part_2/output.js | JavaScript | var status;
var x = { PASS: false };
x[(status = id("PASS"))] ||= "PASS";
console.log(status, x.PASS);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assignment_in_left_part_2/output.mangleOnly.js | JavaScript | var S = "FAIL";
var A = {
PASS: false
};
A[(S = id("PASS"))] ||= "PASS";
console.log(S, A.PASS);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/assignment_in_left_part_2/output.terser.js | JavaScript | var status;
var x = { PASS: false };
x[(status = id("PASS"))] ||= "PASS";
console.log(status, x.PASS);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/logical_assignment_not_always_happens/input.js | JavaScript | let result = "PASS";
let x;
x &&= result = "FAIL";
console.log(result);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/logical_assignment_not_always_happens/output.mangleOnly.js | JavaScript | let l = "PASS";
let e;
e &&= l = "FAIL";
console.log(l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment/input.js | JavaScript | var or = null;
var null_coalesce = null;
var and = "FAIL";
or ||= "PASS";
null_coalesce ??= "PASS";
and &&= "PASS";
console.log(or, null_coalesce, and);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment/output.js | JavaScript | var or = null;
var null_coalesce = null;
var and = "FAIL";
or ||= "PASS";
null_coalesce ??= "PASS";
and &&= "PASS";
console.log(or, null_coalesce, and);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment/output.mangleOnly.js | JavaScript | var l = null;
var S = null;
var A = "FAIL";
l ||= "PASS";
S ??= "PASS";
A &&= "PASS";
console.log(l, S, A);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment/output.terser.js | JavaScript | var or = null;
var null_coalesce = null;
var and = "FAIL";
or ||= "PASS";
null_coalesce ??= "PASS";
and &&= "PASS";
console.log(or, null_coalesce, and);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment_inv/input.js | JavaScript | var or = "PASS";
var null_coalesce = "PASS";
var and = "FAIL";
or ||= "FAIL";
null_coalesce ??= "FAIL";
and &&= "PASS";
console.log(or, null_coalesce, and);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment_inv/output.js | JavaScript | var or = "PASS";
var null_coalesce = "PASS";
var and = "FAIL";
or ||= "FAIL";
null_coalesce ??= "FAIL";
and &&= "PASS";
console.log(or, null_coalesce, and);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/logical_assignment/prematurely_evaluate_assignment_inv/output.mangleOnly.js | JavaScript | var A = "PASS";
var S = "PASS";
var a = "FAIL";
A ||= "FAIL";
S ??= "FAIL";
a &&= "PASS";
console.log(A, S, a);
| 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.