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/hoist_props/undefined_key/output.terser.js | JavaScript | console.log(3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/issue_2295/input.js | JavaScript | function foo(o) {
var a = o.a;
if (a) return a;
var a = 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/issue_2295/output.js | JavaScript | function foo(o) {
var a = o.a;
if (a) return a;
a = 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/issue_2295/output.mangleOnly.js | JavaScript | function r(r) {
var a = r.a;
if (a) return a;
var a = 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/issue_2295/output.terser.js | JavaScript | function foo(o) {
var a = o.a;
if (a) return a;
a = 1;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/regression_toplevel_args/input.js | JavaScript | var Foo;
var Bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/regression_toplevel_args/output.js | JavaScript | var Foo, Bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/regression_toplevel_args/output.mangleOnly.js | JavaScript | var a;
var r;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/regression_toplevel_args/output.terser.js | JavaScript | var Foo, Bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences/input.js | JavaScript | function f() {
var a = 1,
b = 2;
function g() {}
var c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences/output.js | JavaScript | function f() {
var a = 1,
b = 2,
c;
function g() {}
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences/output.mangleOnly.js | JavaScript | function n() {
var n = 1, r = 2;
function t() {}
var u = 3;
return t(n, r, u);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences/output.terser.js | JavaScript | function f() {
var c,
a = 1,
b = 2;
function g() {}
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences_funs/input.js | JavaScript | function f() {
var a = 1,
b = 2;
function g() {}
var c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences_funs/output.js | JavaScript | function f() {
function g() {}
var a = 1,
b = 2,
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences_funs/output.mangleOnly.js | JavaScript | function n() {
var n = 1, r = 2;
function t() {}
var u = 3;
return t(n, r, u);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/sequences_funs/output.terser.js | JavaScript | function f() {
function g() {}
var a = 1,
b = 2,
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements/input.js | JavaScript | function f() {
var a = 1;
var b = 2;
var c = 3;
function g() {}
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements/output.js | JavaScript | function f() {
var a = 1;
var b = 2;
var c = 3;
function g() {}
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements/output.mangleOnly.js | JavaScript | function n() {
var n = 1;
var r = 2;
var a = 3;
function t() {}
return t(n, r, a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements/output.terser.js | JavaScript | function f() {
var a = 1,
b = 2,
c = 3;
function g() {}
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements_funs/input.js | JavaScript | function f() {
var a = 1;
var b = 2;
var c = 3;
function g() {}
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements_funs/output.js | JavaScript | function f() {
function g() {}
var a = 1,
b = 2,
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements_funs/output.mangleOnly.js | JavaScript | function n() {
var n = 1;
var r = 2;
var a = 3;
function t() {}
return t(n, r, a);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/hoist_vars/statements_funs/output.terser.js | JavaScript | function f() {
function g() {}
var a = 1,
b = 2,
c = 3;
return g(a, b, c);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_after_multiline_comment/input.js | JavaScript | var foo;
var foobar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_after_multiline_comment/output.js | JavaScript | var foo;
var foobar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_after_multiline_comment/output.mangleOnly.js | JavaScript | var a;
var r;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_after_multiline_comment/output.terser.js | JavaScript | var foo;
var foobar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_expression/input.js | JavaScript | function f(a, b, x, y) {
return a < !--b && x-- > y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_expression/output.js | JavaScript | function f(a, b, x, y) {
return a < !--b && x-- > y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_expression/output.mangleOnly.js | JavaScript | function n(n, r, t, u) {
return n < !--r && t-- > u;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_expression/output.terser.js | JavaScript | function f(a, b, x, y) {
return a < !--b && x-- > y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than/input.js | JavaScript | function f(a, b) {
return a-- > b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than/output.js | JavaScript | function f(a, b) {
return a-- > b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than/output.mangleOnly.js | JavaScript | function n(n, r) {
return n-- > r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than/output.terser.js | JavaScript | function f(a, b) {
return a-- > b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than_or_equal/input.js | JavaScript | function f(a, b) {
return a-- >= b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than_or_equal/output.js | JavaScript | function f(a, b) {
return a-- >= b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than_or_equal/output.mangleOnly.js | JavaScript | function n(n, r) {
return n-- >= r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_greater_than_or_equal/output.terser.js | JavaScript | function f(a, b) {
return a-- >= b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_left_shift/input.js | JavaScript | function f(a, b) {
return a << !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_left_shift/output.js | JavaScript | function f(a, b) {
return a << !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_left_shift/output.mangleOnly.js | JavaScript | function n(n, r) {
return n << !--r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_left_shift/output.terser.js | JavaScript | function f(a, b) {
return a << !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_less_than/input.js | JavaScript | function f(a, b) {
return a < !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_less_than/output.js | JavaScript | function f(a, b) {
return a < !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_less_than/output.mangleOnly.js | JavaScript | function n(n, r) {
return n < !--r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_less_than/output.terser.js | JavaScript | function f(a, b) {
return a < !--b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_right_shift/input.js | JavaScript | function f(a, b) {
return a-- >> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_right_shift/output.js | JavaScript | function f(a, b) {
return a-- >> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_right_shift/output.mangleOnly.js | JavaScript | function n(n, r) {
return n-- >> r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_right_shift/output.terser.js | JavaScript | function f(a, b) {
return a-- >> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_string_literal/input.js | JavaScript | function f() {
return "\x3c!--HTML--\x3ecomment in\x3c!--string literal--\x3e";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_string_literal/output.js | JavaScript | function f() {
return "\x3c!--HTML--\x3ecomment in\x3c!--string literal--\x3e";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_string_literal/output.mangleOnly.js | JavaScript | function n() {
return "\x3c!--HTML--\x3ecomment in\x3c!--string literal--\x3e";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_string_literal/output.terser.js | JavaScript | function f() {
return "\x3c!--HTML--\x3ecomment in\x3c!--string literal--\x3e";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_zero_fill_right_shift/input.js | JavaScript | function f(a, b) {
return a-- >>> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_zero_fill_right_shift/output.js | JavaScript | function f(a, b) {
return a-- >>> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_zero_fill_right_shift/output.mangleOnly.js | JavaScript | function n(n, r) {
return n-- >>> r;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/html_comments/html_comment_in_zero_fill_right_shift/output.terser.js | JavaScript | function f(a, b) {
return a-- >>> b;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity/input.js | JavaScript | const id = (x) => x;
console.log(id(1), id(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity/output.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity/output.mangleOnly.js | JavaScript | const o = (o)=>o;
console.log(o(1), o(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity/output.terser.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_async/input.js | JavaScript | const id = (x) => x;
id(async () => await 1)();
id(async (x) => await console.log(2))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_async/output.js | JavaScript | (async ()=>await 1)();
(async (x)=>await console.log(2))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_async/output.mangleOnly.js | JavaScript | const a = (a)=>a;
a(async ()=>await 1)();
a(async (a)=>await console.log(2))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_async/output.terser.js | JavaScript | (async () => await 1)();
(async (x) => await console.log(2))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_dont_lose_this_when_arg/input.js | JavaScript | "use strict";
const id = (x) => x;
const func_bag = { leak: leak };
leak(id(func_bag.leak));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_dont_lose_this_when_arg/output.js | JavaScript | "use strict";
const func_bag = {
leak: leak
};
let x;
leak(x = func_bag.leak);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_dont_lose_this_when_arg/output.mangleOnly.js | JavaScript | "use strict";
const e = (e)=>e;
const a = {
leak: leak
};
leak(e(a.leak));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_dont_lose_this_when_arg/output.terser.js | JavaScript | "use strict";
const id = (x) => x;
const func_bag = { leak: leak };
leak(func_bag.leak);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_duplicate_arg_var/input.js | JavaScript | const id = (x) => {
return x;
var x;
};
console.log(id(1), id(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_duplicate_arg_var/output.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_duplicate_arg_var/output.mangleOnly.js | JavaScript | const o = (o)=>{
return o;
var o;
};
console.log(o(1), o(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_duplicate_arg_var/output.terser.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_extra_params/input.js | JavaScript | const id = (x) => x;
console.log(id(1, console.log(2)), id(3, 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_extra_params/output.js | JavaScript | console.log((console.log(2), 1), 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_extra_params/output.mangleOnly.js | JavaScript | const o = (o)=>o;
console.log(o(1, console.log(2)), o(3, 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_extra_params/output.terser.js | JavaScript | const id = (x) => x;
console.log(id(1, console.log(2)), 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_function/input.js | JavaScript | function id(x) {
return x;
}
console.log(id(1), id(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_function/output.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_function/output.mangleOnly.js | JavaScript | function n(n) {
return n;
}
console.log(n(1), n(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_function/output.terser.js | JavaScript | console.log(1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_higher_order/input.js | JavaScript | const id = (x) => x;
const inc = (x) => x + 1;
console.log(id(inc(1)), id(inc)(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_higher_order/output.js | JavaScript | console.log(2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_higher_order/output.mangleOnly.js | JavaScript | const o = (o)=>o;
const c = (o)=>o + 1;
console.log(o(c(1)), o(c)(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_higher_order/output.terser.js | JavaScript | const inc = (x) => x + 1;
console.log(inc(1), inc(2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inline_function/input.js | JavaScript | const id = (x) => x;
console.log(id((x) => x + 1)(1), id(((x) => x + 1)(2)));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inline_function/output.js | JavaScript | console.log(2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inline_function/output.mangleOnly.js | JavaScript | const o = (o)=>o;
console.log(o((o)=>o + 1)(1), o(((o)=>o + 1)(2)));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inline_function/output.terser.js | JavaScript | console.log(2, 3);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inner_ref/input.js | JavaScript | const id = (a) =>
(function () {
return a;
})();
const undef = (a) => ((a) => a)();
console.log(id(1), id(2), undef(3), undef(4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inner_ref/output.js | JavaScript | console.log(1, 2, void 0, void 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inner_ref/output.mangleOnly.js | JavaScript | const n = (n)=>(function() {
return n;
})();
const o = (n)=>((n)=>n)();
console.log(n(1), n(2), o(3), o(4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_inner_ref/output.terser.js | JavaScript | console.log(1, 2, void 0, void 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_lose_this/input.js | JavaScript | "use strict";
const id = (x) => x;
const func_bag = {
func: function () {
return this === undefined ? "PASS" : "FAIL";
},
};
func_bag.func2 = function () {
return this === undefined ? "PASS" : "FAIL";
};
console.log(id(func_bag.func)());
console.log(id(func_bag.func2)());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_lose_this/output.js | JavaScript | "use strict";
const id = (x)=>x;
const func_bag = {
func: function() {
return void 0 === this ? "PASS" : "FAIL";
}
};
func_bag.func2 = function() {
return void 0 === this ? "PASS" : "FAIL";
};
let x;
console.log((x = func_bag.func)());
let x1;
console.log((x1 = func_bag.func2)());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/identity/inline_identity_lose_this/output.mangleOnly.js | JavaScript | "use strict";
const n = (n)=>n;
const c = {
func: function() {
return this === undefined ? "PASS" : "FAIL";
}
};
c.func2 = function() {
return this === undefined ? "PASS" : "FAIL";
};
console.log(n(c.func)());
console.log(n(c.func2)());
| 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.