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/conditional_nested_3/input.js | JavaScript | var n = 2,
c = 0;
(function f(a) {
0 < n-- && g((a = 1));
function g() {
a && c++;
}
g();
0 < n-- && f();
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_3/output.js | JavaScript | var n = 2, c = 0;
(function f(a) {
0 < n-- && g(a = 1);
function g() {
a && c++;
}
g();
0 < n-- && f();
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_3/output.mangleOnly.js | JavaScript | var n = 2, o = 0;
(function c(f) {
0 < n-- && i((f = 1));
function i() {
f && o++;
}
i();
0 < n-- && c();
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/conditional_nested_3/output.terser.js | JavaScript | var n = 2,
c = 0;
(function f(a) {
0 < n-- && g((a = 1));
function g() {
a && c++;
}
g();
0 < n-- && f();
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_1/input.js | JavaScript | var o = { a: 1, b: 2 };
o.a++;
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_1/output.js | JavaScript | var o = { a: 1, b: 2 };
o.a++;
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_1/output.mangleOnly.js | JavaScript | var a = {
a: 1,
b: 2
};
a.a++;
console.log(a.a, a.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_1/output.terser.js | JavaScript | var o = { a: 1, b: 2 };
o.a++;
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_2/input.js | JavaScript | Object.prototype.c = function () {
this.a++;
};
var o = { a: 1, b: 2 };
o.c();
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_2/output.js | JavaScript | Object.prototype.c = function () {
this.a++;
};
var o = { a: 1, b: 2 };
o.c();
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_2/output.mangleOnly.js | JavaScript | Object.prototype.c = function() {
this.a++;
};
var o = {
a: 1,
b: 2
};
o.c();
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/const_expr_2/output.terser.js | JavaScript | Object.prototype.c = function () {
this.a++;
};
var o = { a: 1, b: 2 };
o.c();
console.log(o.a, o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_assign/input.js | JavaScript | console.log(typeof a);
a = 42;
console.log(typeof a);
function a() {}
console.log(typeof a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_assign/output.js | JavaScript | console.log(typeof a);
a = 42;
console.log(typeof a);
function a() {}
console.log(typeof a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_assign/output.mangleOnly.js | JavaScript | console.log(typeof o);
o = 42;
console.log(typeof o);
function o() {}
console.log(typeof o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_assign/output.terser.js | JavaScript | console.log(typeof a);
a = 42;
console.log(typeof a);
function a() {}
console.log(typeof a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_call/input.js | JavaScript | function f() {
return g() + h(1) - h(g(), 2, 3);
function g() {
return 4;
}
function h(a) {
return a;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_call/output.js | JavaScript | function f() {
return 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_call/output.mangleOnly.js | JavaScript | function n() {
return n() + r(1) - r(n(), 2, 3);
function n() {
return 4;
}
function r(n) {
return n;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_call/output.terser.js | JavaScript | function f() {
return 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_1/input.js | JavaScript | function a() {}
try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_1/output.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_1/output.mangleOnly.js | JavaScript | function o() {}
try {
throw 42;
} catch (o) {
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_1/output.terser.js | JavaScript | function a() {}
try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_2/input.js | JavaScript | try {
function a() {}
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_2/output.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_2/output.mangleOnly.js | JavaScript | try {
function o() {}
throw 42;
} catch (o) {
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_2/output.terser.js | JavaScript | try {
function a() {}
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_3/input.js | JavaScript | try {
throw 42;
function a() {}
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_3/output.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_3/output.mangleOnly.js | JavaScript | try {
throw 42;
function o() {}
} catch (o) {
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_3/output.terser.js | JavaScript | try {
throw 42;
function a() {}
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_4/input.js | JavaScript | try {
throw 42;
} catch (a) {
function a() {}
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_4/output.js | JavaScript | try {
throw 42;
} catch (a) {
function a() {}
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_4/output.mangleOnly.js | JavaScript | try {
throw 42;
} catch (o) {
function o() {}
console.log(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_4/output.terser.js | JavaScript | try {
throw 42;
} catch (a) {
function a() {}
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_5/input.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
function a() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_5/output.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
function a() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_5/output.mangleOnly.js | JavaScript | try {
throw 42;
} catch (o) {
console.log(o);
function o() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_5/output.terser.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
function a() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_6/input.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
function a() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_6/output.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_6/output.mangleOnly.js | JavaScript | try {
throw 42;
} catch (o) {
console.log(o);
}
function o() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_catch_6/output.terser.js | JavaScript | try {
throw 42;
} catch (a) {
console.log(a);
}
function a() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_1/input.js | JavaScript | function f() {
return g(2) + h();
function g(b) {
return b;
}
function h() {
return h();
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_1/output.js | JavaScript | function f() {
return function(b) {
return 2;
}(0) + function h() {
return h();
}();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_1/output.mangleOnly.js | JavaScript | function n() {
return n(2) + r();
function n(n) {
return n;
}
function r() {
return r();
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_1/output.terser.js | JavaScript | function f() {
return (
(function (b) {
return b;
})(2) +
(function h() {
return h();
})()
);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_2/input.js | JavaScript | function f() {
function g(b) {
return b;
}
function h() {
return h();
}
return g(2) + h();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_2/output.js | JavaScript | function f() {
return function(b) {
return 2;
}(0) + function h() {
return h();
}();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_2/output.mangleOnly.js | JavaScript | function n() {
function n(n) {
return n;
}
function r() {
return r();
}
return n(2) + r();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_2/output.terser.js | JavaScript | function f() {
return (
(function (b) {
return b;
})(2) +
(function h() {
return h();
})()
);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_3/input.js | JavaScript | function f() {
return g(2);
function g(b) {
return b;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_3/output.js | JavaScript | function f() {
return 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_3/output.mangleOnly.js | JavaScript | function n() {
return n(2);
function n(n) {
return n;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_inline_3/output.terser.js | JavaScript | function f() {
return 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_label/input.js | JavaScript | !(function () {
function f(a) {
L: {
if (a) break L;
return 1;
}
}
console.log(f(2));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_label/output.js | JavaScript | !(function () {
console.log(
(function (a) {
L: {
if (2) break L;
return 1;
}
})()
);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_label/output.mangleOnly.js | JavaScript | !(function() {
function n(n) {
n: {
if (n) break n;
return 1;
}
}
console.log(n(2));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_label/output.terser.js | JavaScript | !(function () {
console.log(
(function (a) {
L: {
if (2) break L;
return 1;
}
})()
);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_redefine/input.js | JavaScript | function f() {
function g() {
return 1;
}
function h() {
return 2;
}
g = function () {
return 3;
};
return g() + h();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_redefine/output.js | JavaScript | function f() {
(function () {
return 3;
});
return 3 + 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_redefine/output.mangleOnly.js | JavaScript | function n() {
function n() {
return 1;
}
function r() {
return 2;
}
n = function() {
return 3;
};
return n() + r();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_redefine/output.terser.js | JavaScript | function f() {
(function () {
return 3;
});
return 3 + 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_reference/input.js | JavaScript | function f() {
function g() {
x();
return a;
}
var a = h();
var b = 2;
return a + b;
function h() {
y();
return b;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_reference/output.js | JavaScript | function f() {
function g() {
x();
return a;
}
var a = (y(), 2);
var b = 2;
return a + 2;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_reference/output.mangleOnly.js | JavaScript | function n() {
function n() {
x();
return r;
}
var r = u();
var t = 2;
return r + t;
function u() {
y();
return t;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_reference/output.terser.js | JavaScript | function f() {
function g() {
x();
return a;
}
var a = h();
var b = 2;
return a + 2;
function h() {
y();
return 2;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_single_use_loop/input.js | JavaScript | for (var x, i = 2; --i >= 0; ) {
var y = x;
x = f;
console.log(x === y);
}
function f() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_single_use_loop/output.js | JavaScript | for(var x, i = 2; --i >= 0;){
var y = x;
x = f;
console.log(x === y);
}
function f() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_single_use_loop/output.mangleOnly.js | JavaScript | for(var o, n = 2; --n >= 0;){
var r = o;
o = a;
console.log(o === r);
}
function a() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_single_use_loop/output.terser.js | JavaScript | for (var x, i = 2; --i >= 0; ) {
var y = x;
x = f;
console.log(x === y);
}
function f() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_1/input.js | JavaScript | var a = 42,
b;
function a() {}
function b() {}
console.log(typeof a, typeof b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_1/output.js | JavaScript | console.log("number", "function");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_1/output.mangleOnly.js | JavaScript | var o = 42, n;
function o() {}
function n() {}
console.log(typeof o, typeof n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_1/output.terser.js | JavaScript | console.log("number", "function");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_2/input.js | JavaScript | function a() {}
function b() {}
var a = 42,
b;
console.log(typeof a, typeof b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_2/output.js | JavaScript | console.log("number", "function");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_2/output.mangleOnly.js | JavaScript | function o() {}
function n() {}
var o = 42, n;
console.log(typeof o, typeof n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_2/output.terser.js | JavaScript | console.log("number", "function");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_3/input.js | JavaScript | function a() {}
function b() {}
console.log(typeof a, typeof b);
var a = 42,
b;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_3/output.js | JavaScript | function a() {}
console.log(typeof a, "function");
var a = 42;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_3/output.mangleOnly.js | JavaScript | function o() {}
function n() {}
console.log(typeof o, typeof n);
var o = 42, n;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/defun_var_3/output.terser.js | JavaScript | function a() {}
console.log(typeof a, "function");
var a = 42;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def/input.js | JavaScript | function f() {
return a;
var a;
}
function g() {
return a;
var a = 1;
}
console.log(f(), g());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def/output.js | JavaScript | function f() {
return;
}
function g() {
return a;
var a = 1;
}
console.log(f(), g());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def/output.mangleOnly.js | JavaScript | function n() {
return n;
var n;
}
function r() {
return n;
var n = 1;
}
console.log(n(), r());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def/output.terser.js | JavaScript | function f() {
return;
}
function g() {
return a;
var a = 1;
}
console.log(f(), g());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def_lhs/input.js | JavaScript | console.log(
(function () {
long_name++;
return long_name;
var long_name;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def_lhs/output.js | JavaScript | console.log(
(function () {
long_name++;
return long_name;
var long_name;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def_lhs/output.mangleOnly.js | JavaScript | console.log((function() {
n++;
return n;
var n;
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/delay_def_lhs/output.terser.js | JavaScript | console.log(
(function () {
long_name++;
return long_name;
var long_name;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/do_while/input.js | JavaScript | function f(a) {
do {
(function () {
a && (c = "PASS");
})();
} while ((a = 0));
}
var c = "FAIL";
f(1);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/do_while/output.js | JavaScript | function f(a) {
do {
(function () {
a && (c = "PASS");
})();
} while ((a = 0));
}
var c = "FAIL";
f(1);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/do_while/output.mangleOnly.js | JavaScript | function o(o) {
do {
(function() {
o && (n = "PASS");
})();
}while ((o = 0))
}
var n = "FAIL";
o(1);
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/do_while/output.terser.js | JavaScript | function f(a) {
do {
(function () {
a && (c = "PASS");
})();
} while ((a = 0));
}
var c = "FAIL";
f(1);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/double_reference/input.js | JavaScript | function f() {
var g = function g() {
g();
};
g();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/double_reference/output.js | JavaScript | function f() {
(function g() {
g();
})();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/double_reference/output.mangleOnly.js | JavaScript | function n() {
var n = function n() {
n();
};
n();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/double_reference/output.terser.js | JavaScript | function f() {
(function g() {
g();
})();
}
| 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.