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/duplicate_lambda_defun_name_1/input.js | JavaScript | console.log(
(function f(a) {
function f() {}
return f.length;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_1/output.js | JavaScript | console.log(function f(a) {
return (function() {}).length;
}());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_1/output.mangleOnly.js | JavaScript | console.log((function n(n) {
function o() {}
return o.length;
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_1/output.terser.js | JavaScript | console.log(
(function f(a) {
function f() {}
return f.length;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_2/input.js | JavaScript | console.log(
(function f(a) {
function f() {}
return f.length;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_2/output.js | JavaScript | console.log(function(a) {
return (function() {}).length;
}());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_2/output.mangleOnly.js | JavaScript | console.log((function n(n) {
function o() {}
return o.length;
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/duplicate_lambda_defun_name_2/output.terser.js | JavaScript | console.log(
(function (a) {
return function () {}.length;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_await/input.js | JavaScript | function main() {
var thing;
baz().then((x) => {
thing = x;
});
baz().then((x) => {
if (thing !== (thing = x)) console.log("FAIL");
else console.log("PASS");
});
}
function foo() {}
async function baz() {
return await foo;
}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_await/output.js | JavaScript | function foo() {}
async function baz() {
return await foo;
}
(function () {
var thing;
baz().then((x) => {
thing = x;
});
baz().then((x) => {
if (thing !== (thing = x)) console.log("FAIL");
else console.log("PASS");
});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_await/output.mangleOnly.js | JavaScript | function n() {
var n;
e().then((o)=>{
n = o;
});
e().then((o)=>{
if (n !== (n = o)) console.log("FAIL");
else console.log("PASS");
});
}
function o() {}
async function e() {
return await o;
}
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_await/output.terser.js | JavaScript | function foo() {}
async function baz() {
return await foo;
}
(function () {
var thing;
baz().then((x) => {
thing = x;
});
baz().then((x) => {
if (thing !== (thing = x)) console.log("FAIL");
else console.log("PASS");
});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_conditional/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
}
function baz(s) {
return s ? foo : bar;
}
function foo() {}
function bar() {}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_conditional/output.js | JavaScript | function baz(s) {
return s ? foo : bar;
}
function foo() {}
function bar() {}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_conditional/output.mangleOnly.js | JavaScript | function n() {
var n = o();
if (n !== (n = o())) console.log("FAIL");
else console.log("PASS");
}
function o(n) {
return n ? c : e;
}
function c() {}
function e() {}
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_conditional/output.terser.js | JavaScript | function baz(s) {
return s ? foo : bar;
}
function foo() {}
function bar() {}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_expansion/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
}
function foo() {}
function bar(...x) {
return x[0];
}
function baz() {
return bar(...[foo]);
}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_expansion/output.js | JavaScript | function foo() {}
function baz() {
return (function (...x) {
return x[0];
})(foo);
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_expansion/output.mangleOnly.js | JavaScript | function n() {
var n = e();
if (n !== (n = e())) console.log("FAIL");
else console.log("PASS");
}
function o() {}
function c(...n) {
return n[0];
}
function e() {
return c(...[
o
]);
}
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_expansion/output.terser.js | JavaScript | function foo() {}
function baz() {
return (function (...x) {
return x[0];
})(foo);
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_conditional/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
}
function baz(s) {
function foo() {}
function bar() {}
return s ? foo : bar;
}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_conditional/output.js | JavaScript | function baz(s) {
return s ? function () {} : function () {};
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_conditional/output.mangleOnly.js | JavaScript | function n() {
var n = o();
if (n !== (n = o())) console.log("PASS");
else console.log("FAIL");
}
function o(n) {
function o() {}
function c() {}
return n ? o : c;
}
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_conditional/output.terser.js | JavaScript | function baz(s) {
return s ? function () {} : function () {};
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_sequence/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
}
function baz() {
function foo() {}
function bar() {}
return foo, bar;
}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_sequence/output.js | JavaScript | function baz() {
return function() {};
}
(function() {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_sequence/output.mangleOnly.js | JavaScript | function n() {
var n = o();
if (n !== (n = o())) console.log("PASS");
else console.log("FAIL");
}
function o() {
function n() {}
function o() {}
return n, o;
}
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_sequence/output.terser.js | JavaScript | function baz() {
return function () {}, function () {};
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_throw/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
}
function baz() {
function foo() {}
try {
throw foo;
} catch (bar) {
return bar;
}
}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_throw/output.js | JavaScript | function baz() {
try {
throw function () {};
} catch (bar) {
return bar;
}
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_throw/output.mangleOnly.js | JavaScript | function o() {
var o = n();
if (o !== (o = n())) console.log("PASS");
else console.log("FAIL");
}
function n() {
function o() {}
try {
throw o;
} catch (o) {
return o;
}
}
o();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_local_throw/output.terser.js | JavaScript | function baz() {
try {
throw function () {};
} catch (bar) {
return bar;
}
}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("PASS");
else console.log("FAIL");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_throw/input.js | JavaScript | function main() {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
}
function baz() {
try {
throw foo;
} catch (bar) {
return bar;
}
}
function foo() {}
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_throw/output.js | JavaScript | function baz() {
try {
throw foo;
} catch (bar) {
return bar;
}
}
function foo() {}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_throw/output.mangleOnly.js | JavaScript | function o() {
var o = n();
if (o !== (o = n())) console.log("FAIL");
else console.log("PASS");
}
function n() {
try {
throw c;
} catch (o) {
return o;
}
}
function c() {}
o();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_throw/output.terser.js | JavaScript | function baz() {
try {
throw foo;
} catch (bar) {
return bar;
}
}
function foo() {}
(function () {
var thing = baz();
if (thing !== (thing = baz())) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_yield/input.js | JavaScript | function main() {
var thing = gen.next().value;
if (thing !== (thing = gen.next().value)) console.log("FAIL");
else console.log("PASS");
}
function foo() {}
function* baz(s) {
for (;;) yield foo;
}
var gen = baz();
main();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_yield/output.js | JavaScript | function foo() {}
var gen = function*(s) {
for(;;)yield foo;
}();
(function() {
var thing = gen.next().value;
if (thing !== (thing = gen.next().value)) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_yield/output.mangleOnly.js | JavaScript | function n() {
var n = l.next().value;
if (n !== (n = l.next().value)) console.log("FAIL");
else console.log("PASS");
}
function o() {}
function* e(n) {
for(;;)yield o;
}
var l = e();
n();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escape_yield/output.terser.js | JavaScript | function foo() {}
var gen = (function* (s) {
for (;;) yield foo;
})();
(function () {
var thing = gen.next().value;
if (thing !== (thing = gen.next().value)) console.log("FAIL");
else console.log("PASS");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_1/input.js | JavaScript | var obj = { o: { a: 1 } };
(function (o) {
o.a++;
})(obj.o);
(function (o) {
console.log(o.a);
})(obj.o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_1/output.js | JavaScript | var obj = { o: { a: 1 } };
obj.o.a++;
console.log(obj.o.a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_1/output.mangleOnly.js | JavaScript | var o = {
o: {
a: 1
}
};
(function(o) {
o.a++;
})(o.o);
(function(o) {
console.log(o.a);
})(o.o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_1/output.terser.js | JavaScript | var obj = { o: { a: 1 } };
obj.o.a++;
console.log(obj.o.a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_2/input.js | JavaScript | var obj = { o: { a: 1 } };
(function (o) {
o.a++;
})(obj.o);
(function (o) {
console.log(o.a);
})(obj.o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_2/output.js | JavaScript | var obj = { o: { a: 1 } };
obj.o.a++;
console.log(obj.o.a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_2/output.mangleOnly.js | JavaScript | var o = {
o: {
a: 1
}
};
(function(o) {
o.a++;
})(o.o);
(function(o) {
console.log(o.a);
})(o.o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_2/output.terser.js | JavaScript | var obj = { o: { a: 1 } };
obj.o.a++;
console.log(obj.o.a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_3/input.js | JavaScript | var a;
function f(b) {
if (a) console.log(a === b.c);
a = b.c;
}
function g() {}
function h() {
f({ c: g });
}
h();
h();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_3/output.js | JavaScript | var a;
function g() {}
function h() {
(function (b) {
if (a) console.log(a === b.c);
a = b.c;
})({ c: g });
}
h();
h();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_3/output.mangleOnly.js | JavaScript | var c;
function n(n) {
if (c) console.log(c === n.c);
c = n.c;
}
function o() {}
function f() {
n({
c: o
});
}
f();
f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/escaped_prop_3/output.terser.js | JavaScript | var a;
function g() {}
function h() {
(function (b) {
if (a) console.log(a === b.c);
a = b.c;
})({ c: g });
}
h();
h();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/for_in_prop/input.js | JavaScript | var a = {
foo: function () {
for (this.b in [1, 2]);
},
};
a.foo();
console.log(a.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/for_in_prop/output.js | JavaScript | var a = {
foo: function () {
for (this.b in [1, 2]);
},
};
a.foo();
console.log(a.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/for_in_prop/output.mangleOnly.js | JavaScript | var o = {
foo: function() {
for(this.b in [
1,
2
]);
}
};
o.foo();
console.log(o.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/for_in_prop/output.terser.js | JavaScript | var a = {
foo: function () {
for (this.b in [1, 2]);
},
};
a.foo();
console.log(a.b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_1/input.js | JavaScript | var a = 42;
!(function (a) {
console.log(a());
})(function () {
return a;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_1/output.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_1/output.mangleOnly.js | JavaScript | var n = 42;
!(function(n) {
console.log(n());
})(function() {
return n;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_1/output.terser.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_2/input.js | JavaScript | var a = 42;
!(function (a) {
console.log(a());
})(function (a) {
return a;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_2/output.js | JavaScript | console.log(void 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_2/output.mangleOnly.js | JavaScript | var n = 42;
!(function(n) {
console.log(n());
})(function(n) {
return n;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_arg_2/output.terser.js | JavaScript | console.log(void 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_inline/input.js | JavaScript | function f() {
var g = function () {
return 1;
};
console.log(g() + h());
var h = function () {
return 2;
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_inline/output.js | JavaScript | function f() {
console.log(1 + h());
var h = function () {
return 2;
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_inline/output.mangleOnly.js | JavaScript | function n() {
var n = function() {
return 1;
};
console.log(n() + o());
var o = function() {
return 2;
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_inline/output.terser.js | JavaScript | function f() {
console.log(1 + h());
var h = function () {
return 2;
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_modified/input.js | JavaScript | function f(a) {
function a() {
return 1;
}
function b() {
return 2;
}
function c() {
return 3;
}
b.inject = [];
c = function () {
return 4;
};
return a() + b() + c();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_modified/output.js | JavaScript | function f(a) {
function b() {
return 2;
}
b.inject = [];
(function () {
return 4;
});
return 1 + 2 + 4;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_modified/output.mangleOnly.js | JavaScript | function n(n) {
function n() {
return 1;
}
function t() {
return 2;
}
function r() {
return 3;
}
t.inject = [];
r = function() {
return 4;
};
return n() + t() + r();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/func_modified/output.terser.js | JavaScript | function f(a) {
function b() {
return 2;
}
b.inject = [];
(function () {
return 4;
});
return 1 + 2 + 4;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife/input.js | JavaScript | !(function (a, b, c) {
b++;
console.log(a - 1, b * 1, c + 2);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife/output.js | JavaScript | !(function (a, b, c) {
b++;
console.log(0, 3, 5);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife/output.mangleOnly.js | JavaScript | !(function(o, n, c) {
n++;
console.log(o - 1, n * 1, c + 2);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife/output.terser.js | JavaScript | !(function (a, b, c) {
b++;
console.log(0, 3, 5);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_assign/input.js | JavaScript | !(function () {
var a = 1,
b = 0;
!(function () {
b++;
return;
a = 2;
})();
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_assign/output.js | JavaScript | console.log(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_assign/output.mangleOnly.js | JavaScript | !(function() {
var n = 1, o = 0;
!(function() {
o++;
return;
n = 2;
})();
console.log(n);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_assign/output.terser.js | JavaScript | !(function () {
var a = 1,
b = 0;
!(function () {
b++;
return;
a = 2;
})();
console.log(a);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_1/input.js | JavaScript | (function (x) {
console.log(x() === eval("x"));
})(function f() {
return f;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_1/output.js | JavaScript | (function (x) {
console.log(x() === eval("x"));
})(function f() {
return f;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_1/output.mangleOnly.js | JavaScript | (function(x) {
console.log(x() === eval("x"));
})(function n() {
return n;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_1/output.terser.js | JavaScript | (function (x) {
console.log(x() === eval("x"));
})(function f() {
return f;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_2/input.js | JavaScript | (function () {
var x = function f() {
return f;
};
console.log(x() === eval("x"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_2/output.js | JavaScript | (function () {
var x = function f() {
return f;
};
console.log(x() === eval("x"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_2/output.mangleOnly.js | JavaScript | (function() {
var x = function n() {
return n;
};
console.log(x() === eval("x"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_eval_2/output.terser.js | JavaScript | (function () {
var x = function f() {
return f;
};
console.log(x() === eval("x"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_func_side_effects/input.js | JavaScript | function x() {
console.log("x");
}
function y() {
console.log("y");
}
function z() {
console.log("z");
}
(function (a, b, c) {
function y() {
console.log("FAIL");
}
return y + b();
})(
x(),
function () {
return y();
},
z()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_func_side_effects/output.js | JavaScript | function x() {
console.log("x");
}
function y() {
console.log("y");
}
function z() {
console.log("z");
}
(function (a, b, c) {
return (
function () {
console.log("FAIL");
} + b()
);
})(
x(),
function () {
return y();
},
z()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_func_side_effects/output.mangleOnly.js | JavaScript | function n() {
console.log("x");
}
function o() {
console.log("y");
}
function c() {
console.log("z");
}
(function(n, o, c) {
function l() {
console.log("FAIL");
}
return l + o();
})(n(), function() {
return o();
}, c());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_func_side_effects/output.terser.js | JavaScript | function x() {
console.log("x");
}
function y() {
console.log("y");
}
function z() {
console.log("z");
}
(function (a, b, c) {
return (
function () {
console.log("FAIL");
} + b()
);
})(
x(),
function () {
return y();
},
z()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_new/input.js | JavaScript | var A = new (function (a, b, c) {
b++;
console.log(a - 1, b * 1, c + 2);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_new/output.js | JavaScript | var A = new (function (a, b, c) {
b++;
console.log(0, 3, 5);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_new/output.mangleOnly.js | JavaScript | var n = new (function(n, o, c) {
o++;
console.log(n - 1, o * 1, c + 2);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/iife_new/output.terser.js | JavaScript | var A = new (function (a, b, c) {
b++;
console.log(0, 3, 5);
})(1, 2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/immutable/input.js | JavaScript | !(function () {
var a = "test";
console.log(a.indexOf("e"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/immutable/output.js | JavaScript | console.log("test".indexOf("e"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/immutable/output.mangleOnly.js | JavaScript | !(function() {
var e = "test";
console.log(e.indexOf("e"));
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/reduce_vars/immutable/output.terser.js | JavaScript | !(function () {
console.log("test".indexOf("e"));
})();
| 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.