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/dead_code/dead_code_const_declaration/input.js | JavaScript | var unused;
const CONST_FOO = false;
if (CONST_FOO) {
console.log("unreachable");
var moo;
function bar() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_const_declaration/output.js | JavaScript | var unused;
const CONST_FOO = !1;
var moo, bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_const_declaration/output.mangleOnly.js | JavaScript | var a;
const n = false;
if (n) {
console.log("unreachable");
var o;
function c() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_const_declaration/output.terser.js | JavaScript | var unused;
const CONST_FOO = !1;
var moo;
var bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more/input.js | JavaScript | while (!((foo && bar) || x + "0")) {
console.log("unreachable");
var foo;
function bar() {}
}
for (var x = 10, y; x && (y || x) && !typeof x; ++x) {
asdf();
foo();
var moo;
}
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more/output.js | JavaScript | var foo, bar;
var x = 10, y;
var moo;
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more/output.mangleOnly.js | JavaScript | while(!((a && o) || e + "0")){
console.log("unreachable");
var a;
function o() {}
}
for(var e = 10, r; e && (r || e) && !typeof e; ++e){
asdf();
a();
var f;
}
o();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more/output.terser.js | JavaScript | var foo;
var bar;
var moo;
var x = 10,
y;
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more_strict/input.js | JavaScript | "use strict";
while (!(foo || x + "0")) {
console.log("unreachable");
var foo;
}
for (var x = 10, y; x && (y || x) && !typeof x; ++x) {
asdf();
foo();
var moo;
}
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more_strict/output.js | JavaScript | "use strict";
var foo;
var x = 10, y;
var moo;
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more_strict/output.mangleOnly.js | JavaScript | "use strict";
while(!(a || r + "0")){
console.log("unreachable");
var a;
}
for(var r = 10, e; r && (e || r) && !typeof r; ++r){
asdf();
a();
var o;
}
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/dead_code_constant_boolean_should_warn_more_strict/output.terser.js | JavaScript | "use strict";
var foo;
var moo;
var x = 10,
y;
bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_fns/input.js | JavaScript | Boolean(1, 2);
decodeURI(1, 2);
decodeURIComponent(1, 2);
Date(1, 2);
encodeURI(1, 2);
encodeURIComponent(1, 2);
Error(1, 2);
escape(1, 2);
EvalError(1, 2);
isFinite(1, 2);
isNaN(1, 2);
Number(1, 2);
Object(1, 2);
parseFloat(1, 2);
parseInt(1, 2);
RangeError(1, 2);
ReferenceError(1, 2);
String(1, 2);
SyntaxError(1, 2);
TypeError(1, 2);
unescape(1, 2);
URIError(1, 2);
try {
Function(1, 2);
} catch (e) {
console.log(e.name);
}
try {
RegExp(1, 2);
} catch (e) {
console.log(e.name);
}
try {
Array(NaN);
} catch (e) {
console.log(e.name);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_fns/output.js | JavaScript | try {
Function(1, 2);
} catch (e) {
console.log(e.name);
}
try {
RegExp(1, 2);
} catch (e) {
console.log(e.name);
}
try {
Array(NaN);
} catch (e) {
console.log(e.name);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_fns/output.mangleOnly.js | JavaScript | Boolean(1, 2);
decodeURI(1, 2);
decodeURIComponent(1, 2);
Date(1, 2);
encodeURI(1, 2);
encodeURIComponent(1, 2);
Error(1, 2);
escape(1, 2);
EvalError(1, 2);
isFinite(1, 2);
isNaN(1, 2);
Number(1, 2);
Object(1, 2);
parseFloat(1, 2);
parseInt(1, 2);
RangeError(1, 2);
ReferenceError(1, 2);
String(1, 2);
SyntaxError(1, 2);
TypeError(1, 2);
unescape(1, 2);
URIError(1, 2);
try {
Function(1, 2);
} catch (e) {
console.log(e.name);
}
try {
RegExp(1, 2);
} catch (e) {
console.log(e.name);
}
try {
Array(NaN);
} catch (e) {
console.log(e.name);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_fns/output.terser.js | JavaScript | try {
Function(1, 2);
} catch (e) {
console.log(e.name);
}
try {
RegExp(1, 2);
} catch (e) {
console.log(e.name);
}
try {
Array(NaN);
} catch (e) {
console.log(e.name);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_timeout_and_interval_symbols/input.js | JavaScript | clearInterval;
clearTimeout;
setInterval;
setTimeout;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/global_timeout_and_interval_symbols/output.mangleOnly.js | JavaScript | clearInterval;
clearTimeout;
setInterval;
setTimeout;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_1/input.js | JavaScript | Array.isArray;
Boolean;
console.log;
Date;
decodeURI;
decodeURIComponent;
encodeURI;
encodeURIComponent;
Error.name;
escape;
eval;
EvalError;
Function.length;
isFinite;
isNaN;
JSON;
Math.random;
Number.isNaN;
parseFloat;
parseInt;
RegExp;
Object.defineProperty;
String.fromCharCode;
RangeError;
ReferenceError;
SyntaxError;
TypeError;
unescape;
URIError;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_1/output.mangleOnly.js | JavaScript | Array.isArray;
Boolean;
console.log;
Date;
decodeURI;
decodeURIComponent;
encodeURI;
encodeURIComponent;
Error.name;
escape;
eval;
EvalError;
Function.length;
isFinite;
isNaN;
JSON;
Math.random;
Number.isNaN;
parseFloat;
parseInt;
RegExp;
Object.defineProperty;
String.fromCharCode;
RangeError;
ReferenceError;
SyntaxError;
TypeError;
unescape;
URIError;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_2/input.js | JavaScript | var RegExp;
Array.isArray;
RegExp;
UndeclaredGlobal;
function foo() {
var Number;
AnotherUndeclaredGlobal;
Math.sin;
Number.isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_2/output.js | JavaScript | var RegExp;
UndeclaredGlobal;
function foo() {
AnotherUndeclaredGlobal;
(void 0).isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_2/output.mangleOnly.js | JavaScript | var a;
Array.isArray;
a;
UndeclaredGlobal;
function r() {
var a;
AnotherUndeclaredGlobal;
Math.sin;
a.isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_2/output.terser.js | JavaScript | var RegExp;
UndeclaredGlobal;
function foo() {
var Number;
AnotherUndeclaredGlobal;
Number.isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_3/input.js | JavaScript | var RegExp;
Array.isArray;
RegExp;
UndeclaredGlobal;
function foo() {
var Number;
AnotherUndeclaredGlobal;
Math.sin;
Number.isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_3/output.js | JavaScript | UndeclaredGlobal;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_3/output.mangleOnly.js | JavaScript | var a;
Array.isArray;
a;
UndeclaredGlobal;
function r() {
var a;
AnotherUndeclaredGlobal;
Math.sin;
a.isNaN;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2233_3/output.terser.js | JavaScript | UndeclaredGlobal;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_1/input.js | JavaScript | if (0) {
var { x: x, y: y } = foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_1/output.js | JavaScript | var x, y;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_1/output.mangleOnly.js | JavaScript | if (0) {
var { x: f , y: o } = foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_1/output.terser.js | JavaScript | var x, y;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_2/input.js | JavaScript | if (0) {
var { x: x = 0, y: [w, , { z: z, p: q = 7 }] = [1, 2, { z: 3 }] } = {};
}
console.log(x, q, w, z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_2/output.js | JavaScript | var x, w, z, q;
console.log(x, q, w, z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_2/output.mangleOnly.js | JavaScript | if (0) {
var { x: o = 0 , y: [l, , { z: z , p: a = 7 }] = [
1,
2,
{
z: 3
}
] } = {};
}
console.log(o, a, l, z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_2/output.terser.js | JavaScript | var x, w, z, q;
console.log(x, q, w, z);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_3/input.js | JavaScript | var b = 7,
y = 8;
if (0) {
var a = 1,
[x, y, z] = [2, 3, 4],
b = 5;
}
console.log(a, x, y, z, b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_3/output.js | JavaScript | var b = 7,
y = 8;
var a, x, y, z, b;
console.log(a, x, y, z, b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_3/output.mangleOnly.js | JavaScript | var o = 7, a = 8;
if (0) {
var l = 1, [r, a, v] = [
2,
3,
4
], o = 5;
}
console.log(l, r, a, v, o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2383_3/output.terser.js | JavaScript | var b = 7,
y = 8;
var a, x, y, z, b;
console.log(a, x, y, z, b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2597/input.js | JavaScript | function f(b) {
try {
try {
throw "foo";
} catch (e) {
return (b = true);
}
} finally {
b && (a = "PASS");
}
}
var a = "FAIL";
f();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2597/output.js | JavaScript | function f(b) {
try {
try {
throw "foo";
} catch (e) {
return (b = true);
}
} finally {
b && (a = "PASS");
}
}
var a = "FAIL";
f();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2597/output.mangleOnly.js | JavaScript | function o(o) {
try {
try {
throw "foo";
} catch (r) {
return (o = true);
}
} finally{
o && (r = "PASS");
}
}
var r = "FAIL";
o();
console.log(r);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2597/output.terser.js | JavaScript | function f(b) {
try {
try {
throw "foo";
} catch (e) {
return (b = true);
}
} finally {
b && (a = "PASS");
}
}
var a = "FAIL";
f();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2666/input.js | JavaScript | function f(a) {
return (a = {
p: function () {
return a;
},
});
}
console.log(typeof f().p());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2666/output.js | JavaScript | function f(a) {
return (a = {
p: function () {
return a;
},
});
}
console.log(typeof f().p());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2666/output.mangleOnly.js | JavaScript | function n(n) {
return (n = {
p: function() {
return n;
}
});
}
console.log(typeof n().p());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2666/output.terser.js | JavaScript | function f(a) {
return (a = {
p: function () {
return a;
},
});
}
console.log(typeof f().p());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2692/input.js | JavaScript | function f(a) {
return (a = g);
function g() {
return a;
}
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2692/output.js | JavaScript | function f(a) {
return (a = g);
function g() {
return a;
}
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2692/output.mangleOnly.js | JavaScript | function n(n) {
return (n = o);
function o() {
return n;
}
}
console.log(typeof n()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2692/output.terser.js | JavaScript | function f(a) {
return (a = g);
function g() {
return a;
}
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2701/input.js | JavaScript | function f(a) {
return (a = (function () {
return function () {
return a;
};
})());
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2701/output.js | JavaScript | function f(a) {
return (a = (function () {
return function () {
return a;
};
})());
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2701/output.mangleOnly.js | JavaScript | function n(n) {
return (n = (function() {
return function() {
return n;
};
})());
}
console.log(typeof n()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2701/output.terser.js | JavaScript | function f(a) {
return (a = (function () {
return function () {
return a;
};
})());
}
console.log(typeof f()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2749/input.js | JavaScript | var a = 2,
c = "PASS";
while (a--)
(function () {
return b ? (c = "FAIL") : (b = 1);
try {
} catch (b) {
var b;
}
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2749/output.js | JavaScript | var a = 2,
c = "PASS";
while (a--) (b = void 0), b ? (c = "FAIL") : (b = 1);
var b;
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2749/output.mangleOnly.js | JavaScript | var r = 2, c = "PASS";
while(r--)(function() {
return r ? (c = "FAIL") : (r = 1);
try {} catch (r) {
var r;
}
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2749/output.terser.js | JavaScript | var a = 2,
c = "PASS";
while (a--) (b = void 0), b ? (c = "FAIL") : (b = 1);
var b;
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_1/input.js | JavaScript | console.log(
(function (a) {
return (a ^= 1);
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_1/output.js | JavaScript | console.log(function(a) {
return 1;
}());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_1/output.mangleOnly.js | JavaScript | console.log((function(n) {
return (n ^= 1);
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_1/output.terser.js | JavaScript | console.log(
(function (a) {
return 1 ^ a;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_2/input.js | JavaScript | console.log(
(function (a) {
return (a ^= 1);
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_2/output.js | JavaScript | console.log(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_2/output.mangleOnly.js | JavaScript | console.log((function(n) {
return (n ^= 1);
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2860_2/output.terser.js | JavaScript | console.log(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2929/input.js | JavaScript | console.log(
(function (a) {
try {
return (null.p = a = 1);
} catch (e) {
return a ? "PASS" : "FAIL";
}
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2929/output.js | JavaScript | console.log(
(function (a) {
try {
return (null.p = a = 1);
} catch (e) {
return a ? "PASS" : "FAIL";
}
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2929/output.mangleOnly.js | JavaScript | console.log((function(n) {
try {
return (null.p = n = 1);
} catch (r) {
return n ? "PASS" : "FAIL";
}
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_2929/output.terser.js | JavaScript | console.log(
(function (a) {
try {
return (null.p = a = 1);
} catch (e) {
return a ? "PASS" : "FAIL";
}
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_718/input.js | JavaScript | throw "error";
import "x";
export { y };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_718/output.js | JavaScript | import "x";
throw "error";
export { y };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_718/output.mangleOnly.js | JavaScript | throw "error";
import "x";
export { y };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/issue_718/output.terser.js | JavaScript | throw "error";
import "x";
export { y };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/return_assignment/input.js | JavaScript | function f1(a, b, c) {
return (a = x()), (b = y()), (b = a && (c >>= 5));
}
function f2() {
return (e = x());
}
function f3(e) {
return (e = x());
}
function f4() {
var e;
return (e = x());
}
function f5(a) {
try {
return (a = x());
} catch (b) {
console.log(a);
}
}
function f6(a) {
try {
return (a = x());
} finally {
console.log(a);
}
}
function y() {
console.log("y");
}
function test(inc) {
var counter = 0;
x = function () {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[f1, f2, f3, f4, f5, f6].forEach(function (f, i) {
e = null;
try {
i += 1;
console.log("result " + f(10 * i, 100 * i, 1e3 * i));
} catch (x) {
console.log("caught " + x);
}
if (null !== e) console.log("e: " + e);
});
}
var x, e;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/return_assignment/output.js | JavaScript | function f1(a, b, c) {
return (a = x()), y(), a && c >> 5;
}
function f2() {
return (e = x());
}
function f3(e) {
return x();
}
function f4() {
return x();
}
function f5(a) {
try {
return x();
} catch (b) {
console.log(a);
}
}
function f6(a) {
try {
return (a = x());
} finally {
console.log(a);
}
}
function y() {
console.log("y");
}
function test(inc) {
var counter = 0;
x = function () {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[f1, f2, f3, f4, f5, f6].forEach(function (f, i) {
e = null;
try {
i += 1;
console.log("result " + f(10 * i, 100 * i, 1e3 * i));
} catch (x) {
console.log("caught " + x);
}
if (null !== e) console.log("e: " + e);
});
}
var x, e;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/return_assignment/output.mangleOnly.js | JavaScript | function n(n, o, t) {
return (n = f()), (o = l()), (o = n && (t >>= 5));
}
function o() {
return (i = f());
}
function t(n) {
return (n = f());
}
function r() {
var n;
return (n = f());
}
function c(n) {
try {
return (n = f());
} catch (o) {
console.log(n);
}
}
function u(n) {
try {
return (n = f());
} finally{
console.log(n);
}
}
function l() {
console.log("y");
}
function e(l) {
var e = 0;
f = function() {
e += l;
if (l < 0) throw e;
return e;
};
[
n,
o,
t,
r,
c,
u
].forEach(function(n, o) {
i = null;
try {
o += 1;
console.log("result " + n(10 * o, 100 * o, 1e3 * o));
} catch (n) {
console.log("caught " + n);
}
if (null !== i) console.log("e: " + i);
});
}
var f, i;
e(1);
e(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/return_assignment/output.terser.js | JavaScript | function f1(a, b, c) {
return (a = x()), y(), a && c >> 5;
}
function f2() {
return (e = x());
}
function f3(e) {
return x();
}
function f4() {
return x();
}
function f5(a) {
try {
return x();
} catch (b) {
console.log(a);
}
}
function f6(a) {
try {
return (a = x());
} finally {
console.log(a);
}
}
function y() {
console.log("y");
}
function test(inc) {
var counter = 0;
x = function () {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[f1, f2, f3, f4, f5, f6].forEach(function (f, i) {
e = null;
try {
i += 1;
console.log("result " + f(10 * i, 100 * i, 1e3 * i));
} catch (x) {
console.log("caught " + x);
}
if (null !== e) console.log("e: " + e);
});
}
var x, e;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/throw_assignment/input.js | JavaScript | function f1() {
throw (a = x());
}
function f2(a) {
throw (a = x());
}
function f3() {
var a;
throw (a = x());
}
function f4() {
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f5(a) {
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f6() {
var a;
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f7() {
try {
throw (a = x());
} finally {
console.log(a);
}
}
function f8(a) {
try {
throw (a = x());
} finally {
console.log(a);
}
}
function f9() {
var a;
try {
throw (a = x());
} finally {
console.log(a);
}
}
function test(inc) {
var counter = 0;
x = function () {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[f1, f2, f3, f4, f5, f6, f7, f8, f9].forEach(function (f, i) {
a = null;
try {
f(10 * (1 + i));
} catch (x) {
console.log("caught " + x);
}
if (null !== a) console.log("a: " + a);
});
}
var x, a;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/throw_assignment/output.js | JavaScript | function f1() {
throw a = x();
}
function f2(a) {
throw x();
}
function f3() {
throw x();
}
function f4() {
try {
throw a = x();
} catch (b) {
console.log(a);
}
}
function f5(a) {
try {
throw a = x();
} catch (b) {
console.log(a);
}
}
function f6() {
var a;
try {
throw a = x();
} catch (b) {
console.log(a);
}
}
function f7() {
try {
throw a = x();
} finally{
console.log(a);
}
}
function f8(a) {
try {
throw a = x();
} finally{
console.log(a);
}
}
function f9() {
var a;
try {
throw a = x();
} finally{
console.log(a);
}
}
function test(inc) {
var counter = 0;
x = function() {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[
f1,
f2,
f3,
f4,
f5,
f6,
f7,
f8,
f9
].forEach(function(f, i) {
a = null;
try {
f(10 * (1 + i));
} catch (x) {
console.log("caught " + x);
}
if (null !== a) console.log("a: " + a);
});
}
var x, a;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/throw_assignment/output.mangleOnly.js | JavaScript | function o() {
throw (w = a());
}
function n(o) {
throw (o = a());
}
function t() {
var o;
throw (o = a());
}
function c() {
try {
throw (w = a());
} catch (o) {
console.log(w);
}
}
function l(o) {
try {
throw (o = a());
} catch (n) {
console.log(o);
}
}
function r() {
var o;
try {
throw (o = a());
} catch (n) {
console.log(o);
}
}
function f() {
try {
throw (w = a());
} finally{
console.log(w);
}
}
function i(o) {
try {
throw (o = a());
} finally{
console.log(o);
}
}
function h() {
var o;
try {
throw (o = a());
} finally{
console.log(o);
}
}
function u(u) {
var y = 0;
a = function() {
y += u;
if (u < 0) throw y;
return y;
};
[
o,
n,
t,
c,
l,
r,
f,
i,
h
].forEach(function(o, n) {
w = null;
try {
o(10 * (1 + n));
} catch (o) {
console.log("caught " + o);
}
if (null !== w) console.log("a: " + w);
});
}
var a, w;
u(1);
u(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/throw_assignment/output.terser.js | JavaScript | function f1() {
throw (a = x());
}
function f2(a) {
throw x();
}
function f3() {
throw x();
}
function f4() {
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f5(a) {
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f6() {
var a;
try {
throw (a = x());
} catch (b) {
console.log(a);
}
}
function f7() {
try {
throw (a = x());
} finally {
console.log(a);
}
}
function f8(a) {
try {
throw (a = x());
} finally {
console.log(a);
}
}
function f9() {
var a;
try {
throw (a = x());
} finally {
console.log(a);
}
}
function test(inc) {
var counter = 0;
x = function () {
counter += inc;
if (inc < 0) throw counter;
return counter;
};
[f1, f2, f3, f4, f5, f6, f7, f8, f9].forEach(function (f, i) {
a = null;
try {
f(10 * (1 + i));
} catch (x) {
console.log("caught " + x);
}
if (null !== a) console.log("a: " + a);
});
}
var x, a;
test(1);
test(-1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/try_catch_finally/input.js | JavaScript | var a = 1;
!(function () {
try {
if (false) throw x;
} catch (a) {
var a = 2;
console.log("FAIL");
} finally {
a = 3;
console.log("PASS");
}
})();
try {
console.log(a);
} finally {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/try_catch_finally/output.js | JavaScript | var a = 1;
!function() {
var a;
a = 3;
console.log("PASS");
}();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/try_catch_finally/output.mangleOnly.js | JavaScript | var l = 1;
!(function() {
try {
if (false) throw x;
} catch (l) {
var l = 2;
console.log("FAIL");
} finally{
l = 3;
console.log("PASS");
}
})();
try {
console.log(l);
} finally{}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/try_catch_finally/output.terser.js | JavaScript | var a = 1;
!(function () {
var a;
a = 3;
console.log("PASS");
})();
try {
console.log(a);
} finally {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/unsafe_builtin/input.js | JavaScript | (!w).constructor(x);
Math.abs(y);
[1, 2, z].valueOf();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/unsafe_builtin/output.js | JavaScript | w, x;
y;
z;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/unsafe_builtin/output.mangleOnly.js | JavaScript | (!w).constructor(x);
Math.abs(y);
[
1,
2,
z
].valueOf();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/dead_code/unsafe_builtin/output.terser.js | JavaScript | w, x;
y;
z;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/drop_debugger/input.js | JavaScript | debugger;
if (foo) debugger;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/drop_debugger/output.js | JavaScript | if (foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/drop_debugger/output.mangleOnly.js | JavaScript | debugger;
if (foo) debugger;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/drop_debugger/output.terser.js | JavaScript | if (foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/keep_debugger/input.js | JavaScript | debugger;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/keep_debugger/output.js | JavaScript | debugger;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/keep_debugger/output.mangleOnly.js | JavaScript | debugger;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/debugger/keep_debugger/output.terser.js | JavaScript | debugger;
| 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.