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/reduce_vars/recursive_inlining_5/output.mangleOnly.js | JavaScript | !(function() {
function o(o) {
console.log("foo", o);
if (o) n(o - 1);
}
function n(o) {
console.log("bar", o);
if (o) f(o - 1);
}
function f(n) {
console.log("qux", n);
if (n) o(n - 1);
}
f(4);
n(5);
o(3);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/recursive_inlining_5/output.terser.js | JavaScript | !(function () {
function foo(x) {
console.log("foo", x);
if (x) bar(x - 1);
}
function bar(x) {
console.log("bar", x);
if (x) qux(x - 1);
}
function qux(x) {
console.log("qux", x);
if (x) foo(x - 1);
}
qux(4);
bar(5);
foo(3);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_1/input.js | JavaScript | function f() {
var arguments;
return typeof arguments;
}
function g() {
var arguments = 42;
return typeof arguments;
}
function h(x) {
var arguments = x;
return typeof arguments;
}
console.log(f(), g(), h());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_1/output.js | JavaScript | function f() {
var arguments;
return typeof arguments;
}
function g() {
var arguments = 42;
return typeof arguments;
}
function h(x) {
var arguments = x;
return typeof arguments;
}
console.log(f(), g(), h());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_1/output.mangleOnly.js | JavaScript | function n() {
var arguments;
return typeof arguments;
}
function o() {
var arguments = 42;
return typeof arguments;
}
function r(n) {
var arguments = n;
return typeof arguments;
}
console.log(n(), o(), r());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_1/output.terser.js | JavaScript | function f() {
var arguments;
return typeof arguments;
}
function g() {
var arguments = 42;
return typeof arguments;
}
function h(x) {
var arguments = x;
return typeof arguments;
}
console.log(f(), g(), h());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_2/input.js | JavaScript | function f() {
var arguments;
return typeof arguments;
}
function g() {
var arguments = 42;
return typeof arguments;
}
function h(x) {
var arguments = x;
return typeof arguments;
}
console.log(f(), g(), h());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_2/output.js | JavaScript | console.log(function() {
var arguments;
return typeof arguments;
}(), function() {
var arguments = 42;
return typeof arguments;
}(), function(x) {
var arguments = x;
return typeof arguments;
}());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_2/output.mangleOnly.js | JavaScript | function n() {
var arguments;
return typeof arguments;
}
function o() {
var arguments = 42;
return typeof arguments;
}
function r(n) {
var arguments = n;
return typeof arguments;
}
console.log(n(), o(), r());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_2/output.terser.js | JavaScript | console.log(
(function () {
var arguments;
return typeof arguments;
})(),
(function () {
var arguments = 42;
return typeof arguments;
})(),
(function (x) {
var arguments = x;
return typeof arguments;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_3/input.js | JavaScript | function f() {
var arguments;
return typeof arguments;
}
function g() {
var arguments = 42;
return typeof arguments;
}
function h(x) {
var arguments = x;
return typeof arguments;
}
console.log(f(), g(), h());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_3/output.js | JavaScript | console.log(function() {
var arguments;
return typeof arguments;
}(), function() {
var arguments = 42;
return typeof arguments;
}(), function(x) {
var arguments = x;
return typeof arguments;
}());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_3/output.mangleOnly.js | JavaScript | function n() {
var arguments;
return typeof arguments;
}
function o() {
var arguments = 42;
return typeof arguments;
}
function r(n) {
var arguments = n;
return typeof arguments;
}
console.log(n(), o(), r());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_arguments_3/output.terser.js | JavaScript | console.log(
(function () {
var arguments;
return typeof arguments;
})(),
(function () {
var arguments = 42;
return typeof arguments;
})(),
(function (x) {
var arguments = x;
return typeof arguments;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_1/input.js | JavaScript | function f(a) {
var a;
return typeof a;
}
function g(a) {
var a = 42;
return typeof a;
}
function h(a, b) {
var a = b;
return typeof a;
}
console.log(f([]), g([]), h([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_1/output.js | JavaScript | function f(a) {
return typeof a;
}
function g() {
return "number";
}
function h(a, b) {
a = b;
return typeof a;
}
console.log(f([]), g([]), h([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_1/output.mangleOnly.js | JavaScript | function n(n) {
var n;
return typeof n;
}
function o(n) {
var n = 42;
return typeof n;
}
function r(n, o) {
var n = o;
return typeof n;
}
console.log(n([]), o([]), r([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_1/output.terser.js | JavaScript | function f(a) {
return typeof a;
}
function g() {
return "number";
}
function h(a, b) {
a = b;
return typeof a;
}
console.log(f([]), g([]), h([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_2/input.js | JavaScript | function f(a) {
var a;
return typeof a;
}
function g(a) {
var a = 42;
return typeof a;
}
function h(a, b) {
var a = b;
return typeof a;
}
console.log(f([]), g([]), h([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_2/output.js | JavaScript | console.log("object", "number", "undefined");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_2/output.mangleOnly.js | JavaScript | function n(n) {
var n;
return typeof n;
}
function o(n) {
var n = 42;
return typeof n;
}
function r(n, o) {
var n = o;
return typeof n;
}
console.log(n([]), o([]), r([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_2/output.terser.js | JavaScript | console.log(
((a = []), typeof a),
"number",
(function (a, b) {
a = b;
return typeof a;
})([])
);
var a;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_3/input.js | JavaScript | function f(a) {
var a;
return typeof a;
}
function g(a) {
var a = 42;
return typeof a;
}
function h(a, b) {
var a = b;
return typeof a;
}
console.log(f([]), g([]), h([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_3/output.js | JavaScript | console.log("object", "number", "undefined");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_3/output.mangleOnly.js | JavaScript | function n(n) {
var n;
return typeof n;
}
function o(n) {
var n = 42;
return typeof n;
}
function r(n, o) {
var n = o;
return typeof n;
}
console.log(n([]), o([]), r([]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/redefine_farg_3/output.terser.js | JavaScript | console.log(typeof [], "number", "undefined");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_class_with_side_effects_in_extends/input.js | JavaScript | let x = "";
class Y extends ((x += "PA"), Array) {}
class X extends ((x += "SS"), Array) {}
global.something = [new X(), new Y()];
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_class_with_side_effects_in_extends/output.mangleOnly.js | JavaScript | let e = "";
class s extends ((e += "PA"), Array) {
}
class l extends ((e += "SS"), Array) {
}
global.something = [
new l(),
new s()
];
console.log(e);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_class_with_side_effects_in_properties/input.js | JavaScript | let x = "";
class Y {
static _ = (x += "PA");
}
class X {
static _ = (x += "SS");
}
global.something = [new X(), new Y()];
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_class_with_side_effects_in_properties/output.mangleOnly.js | JavaScript | let s = "";
class l {
static _ = (s += "PA");
}
class t {
static _ = (s += "SS");
}
global.something = [
new t(),
new l()
];
console.log(s);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_array_1/input.js | JavaScript | (function () {
function Foo() {
return 123;
}
function bar() {
return [Foo].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], a[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_array_1/output.mangleOnly.js | JavaScript | (function() {
function n() {
return 123;
}
function o() {
return [
n
].concat([
2
]);
}
var c = [
o(),
o()
];
console.log(c[0][0] === c[1][0], c[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_array_2/input.js | JavaScript | (function () {
function Foo() {
return 123;
}
function bar(val) {
return [val || Foo].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], a[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_array_2/output.mangleOnly.js | JavaScript | (function() {
function n() {
return 123;
}
function o(o) {
return [
o || n
].concat([
2
]);
}
var c = [
o(),
o()
];
console.log(c[0][0] === c[1][0], c[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_object_literal_1/input.js | JavaScript | (function () {
function Foo() {
return 123;
}
function bar() {
return [{ prop: Foo }.prop].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], a[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_object_literal_1/output.mangleOnly.js | JavaScript | (function() {
function n() {
return 123;
}
function o() {
return [
{
prop: n
}.prop
].concat([
2
]);
}
var r = [
o(),
o()
];
console.log(r[0][0] === r[1][0], r[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_object_literal_2/input.js | JavaScript | (function () {
function Foo() {
return 123;
}
function bar(val) {
return [val || Foo].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], a[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_funcs_in_object_literal_2/output.mangleOnly.js | JavaScript | (function() {
function n() {
return 123;
}
function o(o) {
return [
o || n
].concat([
2
]);
}
var c = [
o(),
o()
];
console.log(c[0][0] === c[1][0], c[0][0]());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_vars/input.js | JavaScript | var A = 1;
(function f0() {
var a = 2;
console.log(a - 5);
console.log(A - 5);
})();
(function f1() {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})();
(function f2(eval) {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})(eval);
(function f3() {
var b = typeof C !== "undefined";
var c = 4;
if (b) {
return "yes";
} else {
return "no";
}
})();
console.log(A + 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_vars/output.js | JavaScript | var A = 1;
(function () {
console.log(-3);
console.log(A - 5);
})();
(function f1() {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})();
(function f2(eval) {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})(eval);
("yes");
console.log(A + 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_vars/output.mangleOnly.js | JavaScript | var A = 1;
(function o() {
var o = 2;
console.log(o - 5);
console.log(A - 5);
})();
(function f1() {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})();
(function f2(eval) {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})(eval);
(function o() {
var o = typeof C !== "undefined";
var n = 4;
if (o) {
return "yes";
} else {
return "no";
}
})();
console.log(A + 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/reduce_vars/output.terser.js | JavaScript | var A = 1;
(function () {
console.log(-3);
console.log(A - 5);
})();
(function f1() {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})();
(function f2(eval) {
var a = 2;
console.log(a - 5);
eval("console.log(a);");
})(eval);
("yes");
console.log(A + 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/regex_loop/input.js | JavaScript | function f(x) {
for (var r, s = "acdabcdeabbb"; (r = x().exec(s)); ) console.log(r[0]);
}
var a = /ab*/g;
f(function () {
return a;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/regex_loop/output.js | JavaScript | var a = /ab*/g;
(function(x) {
for(var r; r = x().exec("acdabcdeabbb");)console.log(r[0]);
})(function() {
return a;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/regex_loop/output.mangleOnly.js | JavaScript | function a(a) {
for(var c, n = "acdabcdeabbb"; (c = a().exec(n));)console.log(c[0]);
}
var c = /ab*/g;
a(function() {
return c;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/regex_loop/output.terser.js | JavaScript | var a = /ab*/g;
(function (x) {
for (var r, s = "acdabcdeabbb"; (r = x().exec(s)); ) console.log(r[0]);
})(function () {
return a;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/side_effects_assign/input.js | JavaScript | var a = typeof void (a && a.in == 1, 0);
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/side_effects_assign/output.js | JavaScript | var a = typeof void (a && a.in);
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/side_effects_assign/output.mangleOnly.js | JavaScript | var o = typeof void (o && o.in == 1, 0);
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/side_effects_assign/output.terser.js | JavaScript | var a = typeof void (a && a.in);
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/single_use_class_referenced_in_array/input.js | JavaScript | (function () {
class Foo {
data() {
return 123;
}
}
function bar(val) {
return [val || Foo].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], new a[0][0]().data());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/single_use_class_referenced_in_array/output.mangleOnly.js | JavaScript | (function() {
class n {
data() {
return 123;
}
}
function a(a) {
return [
a || n
].concat([
2
]);
}
var t = [
a(),
a()
];
console.log(t[0][0] === t[1][0], new t[0][0]().data());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/single_use_class_referenced_in_object_literal/input.js | JavaScript | (function () {
class Foo {
data() {
return 123;
}
}
function bar(val) {
return [{ prop: val || Foo }.prop].concat([2]);
}
var a = [bar(), bar()];
console.log(a[0][0] === a[1][0], new a[0][0]().data());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/single_use_class_referenced_in_object_literal/output.mangleOnly.js | JavaScript | (function() {
class n {
data() {
return 123;
}
}
function o(o) {
return [
{
prop: o || n
}.prop
].concat([
2
]);
}
var a = [
o(),
o()
];
console.log(a[0][0] === a[1][0], new a[0][0]().data());
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off/input.js | JavaScript | var x = 3;
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off/output.js | JavaScript | var x = 3;
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off/output.mangleOnly.js | JavaScript | var o = 3;
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off/output.terser.js | JavaScript | var x = 3;
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_1/input.js | JavaScript | function bar() {
console.log("bar:", --x);
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_1/output.js | JavaScript | function bar() {
console.log("bar:", --x);
}
var x = 3;
do bar();
while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_1/output.mangleOnly.js | JavaScript | function o() {
console.log("bar:", --l);
}
var l = 3;
do {
o();
}while (l)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_1/output.terser.js | JavaScript | function bar() {
console.log("bar:", --x);
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_2/input.js | JavaScript | function bar() {
console.log("bar:");
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_2/output.js | JavaScript | function bar() {
console.log("bar:");
}
var x = 3;
do bar();
while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_2/output.mangleOnly.js | JavaScript | function o() {
console.log("bar:");
}
var l = 3;
do {
o();
}while (l)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_2/output.terser.js | JavaScript | function bar() {
console.log("bar:");
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_3/input.js | JavaScript | var x = 3;
while (x) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_3/output.js | JavaScript | var x = 3;
for (; x; ) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_3/output.mangleOnly.js | JavaScript | var a = 3;
while(a)bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_off_loops_3/output.terser.js | JavaScript | var x = 3;
for (; x; ) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on/input.js | JavaScript | var x = 3;
console.log(x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on/output.js | JavaScript | console.log(3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on/output.mangleOnly.js | JavaScript | var o = 3;
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on/output.terser.js | JavaScript | console.log(3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_1/input.js | JavaScript | function bar() {
console.log("bar:", --x);
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_1/output.js | JavaScript | var x = 3;
do console.log("bar:", --x);
while (x)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_1/output.mangleOnly.js | JavaScript | function o() {
console.log("bar:", --l);
}
var l = 3;
do {
o();
}while (l)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_1/output.terser.js | JavaScript | function bar() {
console.log("bar:", --x);
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_2/input.js | JavaScript | function bar() {
console.log("bar:");
}
var x = 3;
do {
bar();
} while (x);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_2/output.js | JavaScript | for(;;)console.log("bar:");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_2/output.mangleOnly.js | JavaScript | function o() {
console.log("bar:");
}
var l = 3;
do {
o();
}while (l)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_2/output.terser.js | JavaScript | function bar() {
console.log("bar:");
}
for (;;) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_3/input.js | JavaScript | var x = 3;
while (x) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_3/output.js | JavaScript | for (;;) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_3/output.mangleOnly.js | JavaScript | var a = 3;
while(a)bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/toplevel_on_loops_3/output.terser.js | JavaScript | for (;;) bar();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/try_abort/input.js | JavaScript | !(function () {
try {
var a = 1;
throw "";
var b = 2;
} catch (e) {}
console.log(a, b);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/try_abort/output.js | JavaScript | !(function () {
try {
var a = 1;
throw "";
var b = 2;
} catch (e) {}
console.log(a, b);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/try_abort/output.mangleOnly.js | JavaScript | !(function() {
try {
var o = 1;
throw "";
var c = 2;
} catch (o) {}
console.log(o, c);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/try_abort/output.terser.js | JavaScript | !(function () {
try {
var a = 1;
throw "";
var b = 2;
} catch (e) {}
console.log(a, b);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unary_delete/input.js | JavaScript | var b = 10;
function f() {
var a;
if (delete a) b--;
}
f();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unary_delete/output.js | JavaScript | var b = 10;
function f() {
var a;
if (delete a) b--;
}
f();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unary_delete/output.mangleOnly.js | JavaScript | var e = 10;
function o() {
var o;
if (delete o) e--;
}
o();
console.log(e);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unary_delete/output.terser.js | JavaScript | var b = 10;
function f() {
var a;
if (delete a) b--;
}
f();
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate/input.js | JavaScript | function f0() {
var a = { b: 1 };
console.log(a.b + 3);
}
function f1() {
var a = { b: { c: 1 }, d: 2 };
console.log(a.b + 3, a.d + 4, a.b.c + 5, a.d.c + 6);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate/output.js | JavaScript | function f0() {
console.log(4);
}
function f1() {
var a = { b: { c: 1 }, d: 2 };
console.log(a.b + 3, 6, 6, (2).c + 6);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate/output.mangleOnly.js | JavaScript | function o() {
var o = {
b: 1
};
console.log(o.b + 3);
}
function c() {
var o = {
b: {
c: 1
},
d: 2
};
console.log(o.b + 3, o.d + 4, o.b.c + 5, o.d.c + 6);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate/output.terser.js | JavaScript | function f0() {
console.log(4);
}
function f1() {
var a = { b: { c: 1 }, d: 2 };
console.log(a.b + 3, 6, 6, (2).c + 6);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate_array_1/input.js | JavaScript | function f0() {
var a = 1;
var b = [];
b[a] = 2;
console.log(a + 3);
}
function f1() {
var a = [1];
a[2] = 3;
console.log(a.length);
}
function f2() {
var a = [1];
a.push(2);
console.log(a.length);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/unsafe_evaluate_array_1/output.js | JavaScript | function f0() {
var a = 1;
[][1] = 2;
console.log(4);
}
function f1() {
var a = [
1
];
a[2] = 3;
console.log(a.length);
}
function f2() {
var a = [
1
];
a.push(2);
console.log(a.length);
}
| 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.