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/functions/loop_init_arg/output.js | JavaScript | var a = "PASS";
for(var k in "12"){
var b = void 0;
void ((b >>= 1) && (a = "FAIL"), b = 2);
}
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/loop_init_arg/output.mangleOnly.js | JavaScript | var o = "PASS";
for(var n in "12")(function(n) {
(n >>= 1) && (o = "FAIL"), (n = 2);
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/loop_init_arg/output.terser.js | JavaScript | var a = "PASS";
for (var k in "12") (b = void 0), (b >>= 1) && (a = "FAIL"), (b = 2);
var b;
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/no_webkit/input.js | JavaScript | console.log(
(function () {
1 + 1;
}.a = 1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/no_webkit/output.js | JavaScript | console.log((function() {
2;
}).a = 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/no_webkit/output.mangleOnly.js | JavaScript | console.log((function() {
1 + 1;
}.a = 1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/no_webkit/output.terser.js | JavaScript | console.log(
(function () {
1 + 1;
}.a = 1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/non_ascii_function_identifier_name/input.js | JavaScript | function fooλ(δλ) {}
function λ(δλ) {}
(function λ(δλ) {})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/non_ascii_function_identifier_name/output.js | JavaScript | function fooλ(δλ) {}
function λ(δλ) {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/non_ascii_function_identifier_name/output.mangleOnly.js | JavaScript | function n(n) {}
function c(n) {}
(function n(n) {})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/non_ascii_function_identifier_name/output.terser.js | JavaScript | function fooλ(δλ) {}
function λ(δλ) {}
(function λ(δλ) {})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_1/input.js | JavaScript | function f() {
h();
}
function g(a) {
a();
}
function h(b) {
g();
if (b) x();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_1/output.mangleOnly.js | JavaScript | function n() {
i();
}
function f(n) {
n();
}
function i(n) {
f();
if (n) x();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_2/input.js | JavaScript | function f(n) {
return n ? n * f(n - 1) : 1;
}
console.log(f(5));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_2/output.js | JavaScript | console.log(
(function f(n) {
return n ? n * f(n - 1) : 1;
})(5)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_2/output.mangleOnly.js | JavaScript | function n(o) {
return o ? o * n(o - 1) : 1;
}
console.log(n(5));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/recursive_inline_2/output.terser.js | JavaScript | console.log(
(function f(n) {
return n ? n * f(n - 1) : 1;
})(5)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_1/input.js | JavaScript | (function (a, b) {
console.log(a, b);
}.apply("foo", ["bar"]));
(function (a, b) {
console.log(this, a, b);
}.apply("foo", ["bar"]));
(function (a, b) {
console.log(a, b);
}.apply("foo", ["bar"], "baz"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_1/output.js | JavaScript | console.log("bar", void 0);
(function (a, b) {
console.log(this, a, b);
}.call("foo", "bar"));
(function (a, b) {
console.log(a, b);
}.apply("foo", ["bar"], "baz"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_1/output.mangleOnly.js | JavaScript | (function(o, l) {
console.log(o, l);
}.apply("foo", [
"bar"
]));
(function(o, l) {
console.log(this, o, l);
}.apply("foo", [
"bar"
]));
(function(o, l) {
console.log(o, l);
}.apply("foo", [
"bar"
], "baz"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_1/output.terser.js | JavaScript | console.log("bar", void 0);
(function (a, b) {
console.log(this, a, b);
}.call("foo", "bar"));
(function (a, b) {
console.log(a, b);
}.apply("foo", ["bar"], "baz"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_2/input.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo.apply("foo", ["bar"]);
bar.apply("foo", ["bar"]);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_2/output.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo("bar");
bar.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_2/output.mangleOnly.js | JavaScript | function o() {
console.log(a, b);
}
var n = (function(o, n) {
console.log(this, o, n);
})(function() {
o.apply("foo", [
"bar"
]);
n.apply("foo", [
"bar"
]);
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_2/output.terser.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo("bar");
bar.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_1/input.js | JavaScript | console.log.apply(console, [1, ...[2, 3], 4]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_1/output.js | JavaScript | console.log.call(console, 1, 2, 3, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_1/output.mangleOnly.js | JavaScript | console.log.apply(console, [
1,
...[
2,
3
],
4
]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_1/output.terser.js | JavaScript | console.log.call(console, 1, 2, 3, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_2/input.js | JavaScript | var values = [2, 3];
console.log.apply(console, [1, ...values, 4]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_2/output.js | JavaScript | var values = [2, 3];
console.log.call(console, 1, ...values, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_2/output.mangleOnly.js | JavaScript | var o = [
2,
3
];
console.log.apply(console, [
1,
...o,
4
]);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_apply_expansion_2/output.terser.js | JavaScript | var values = [2, 3];
console.log.call(console, 1, ...values, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_1/input.js | JavaScript | (function (a, b) {
console.log(a, b);
}.call("foo", "bar"));
(function (a, b) {
console.log(this, a, b);
}.call("foo", "bar"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_1/output.js | JavaScript | console.log("bar", void 0);
(function (a, b) {
console.log(this, a, b);
}.call("foo", "bar"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_1/output.mangleOnly.js | JavaScript | (function(o, l) {
console.log(o, l);
}.call("foo", "bar"));
(function(o, l) {
console.log(this, o, l);
}.call("foo", "bar"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_1/output.terser.js | JavaScript | console.log("bar", void 0);
(function (a, b) {
console.log(this, a, b);
}.call("foo", "bar"));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_2/input.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo.call("foo", "bar");
bar.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_2/output.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo("bar");
bar.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_2/output.mangleOnly.js | JavaScript | function o() {
console.log(a, b);
}
var l = (function(o, l) {
console.log(this, o, l);
})(function() {
o.call("foo", "bar");
l.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_2/output.terser.js | JavaScript | function foo() {
console.log(a, b);
}
var bar = (function (a, b) {
console.log(this, a, b);
})(function () {
foo("bar");
bar.call("foo", "bar");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_3/input.js | JavaScript | console.log(
function () {
return arguments[0] + eval("arguments")[1];
}.call(0, 1, 2)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_3/output.js | JavaScript | console.log(
(function () {
return arguments[0] + eval("arguments")[1];
})(1, 2)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_3/output.mangleOnly.js | JavaScript | console.log(function() {
return arguments[0] + eval("arguments")[1];
}.call(0, 1, 2));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_3/output.terser.js | JavaScript | console.log(
(function () {
return arguments[0] + eval("arguments")[1];
})(1, 2)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_1/input.js | JavaScript | (function (...a) {
console.log(...a);
}.call(console, 1, ...[2, 3], 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_1/output.js | JavaScript | console,
(function (...a) {
console.log(...a);
})(1, 2, 3, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_1/output.mangleOnly.js | JavaScript | (function(...o) {
console.log(...o);
}.call(console, 1, ...[
2,
3
], 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_1/output.terser.js | JavaScript | console,
(function (...a) {
console.log(...a);
})(1, 2, 3, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_2/input.js | JavaScript | var values = [2, 3];
(function (...a) {
console.log(...a);
}.call(console, 1, ...values, 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_2/output.js | JavaScript | var values = [2, 3];
console,
(function (...a) {
console.log(...a);
})(1, ...values, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_2/output.mangleOnly.js | JavaScript | var o = [
2,
3
];
(function(...o) {
console.log(...o);
}.call(console, 1, ...o, 4));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/unsafe_call_expansion_2/output.terser.js | JavaScript | var values = [2, 3];
console,
(function (...a) {
console.log(...a);
})(1, ...values, 4);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/use_before_init_in_loop/input.js | JavaScript | var a = "PASS";
for (var b = 2; --b >= 0; )
(function () {
var c = (function () {
return 1;
})(c && (a = "FAIL"));
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/use_before_init_in_loop/output.js | JavaScript | var a = "PASS";
for(var b = 2; --b >= 0;)(function() {
var c = (c && (a = "FAIL"), 1);
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/use_before_init_in_loop/output.mangleOnly.js | JavaScript | var n = "PASS";
for(var o = 2; --o >= 0;)(function() {
var o = (function() {
return 1;
})(o && (n = "FAIL"));
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/use_before_init_in_loop/output.terser.js | JavaScript | var a = "PASS";
for (var b = 2; --b >= 0; ) (c = void 0), (c = (c && (a = "FAIL"), 1));
var c;
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/webkit/input.js | JavaScript | console.log(
(function () {
1 + 1;
}.a = 1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/webkit/output.js | JavaScript | console.log((function() {
2;
}).a = 1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/webkit/output.mangleOnly.js | JavaScript | console.log((function() {
1 + 1;
}.a = 1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/webkit/output.terser.js | JavaScript | console.log(
(function () {
1 + 1;
}.a = 1)
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/conditional_chains/input.js | JavaScript | console.log(a?.b.c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/conditional_chains/output.js | JavaScript | console.log("d");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/conditional_chains/output.mangleOnly.js | JavaScript | console.log(a?.b.c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/conditional_chains/output.terser.js | JavaScript | console.log("d");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/expanded/input.js | JavaScript | function f(CONFIG) {
return CONFIG.VALUE;
}
function g() {
var CONFIG = { VALUE: 1 };
return CONFIG.VALUE;
}
function h() {
return CONFIG.VALUE;
}
if (CONFIG.DEBUG[0]) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/expanded/output.js | JavaScript | function f(CONFIG) {
return CONFIG.VALUE;
}
function g() {
var CONFIG = {
VALUE: 1
};
return CONFIG.VALUE;
}
function h() {
return 42;
}
if (0) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/expanded/output.mangleOnly.js | JavaScript | function n(n) {
return n.VALUE;
}
function o() {
var n = {
VALUE: 1
};
return n.VALUE;
}
function r() {
return CONFIG.VALUE;
}
if (CONFIG.DEBUG[0]) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/expanded/output.terser.js | JavaScript | function f(CONFIG) {
return CONFIG.VALUE;
}
function g() {
var CONFIG = { VALUE: 1 };
return CONFIG.VALUE;
}
function h() {
return 42;
}
if ([0][0]) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1801/input.js | JavaScript | console.log(CONFIG.FOO.BAR);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1801/output.js | JavaScript | console.log(!0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1801/output.mangleOnly.js | JavaScript | console.log(CONFIG.FOO.BAR);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1801/output.terser.js | JavaScript | console.log(!0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1986/input.js | JavaScript | alert(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1986/output.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1986/output.mangleOnly.js | JavaScript | alert(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_1986/output.terser.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_2167/input.js | JavaScript | if (isDevMode()) {
greetOverlord();
}
doWork();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_2167/output.js | JavaScript | doWork();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_2167/output.mangleOnly.js | JavaScript | if (isDevMode()) {
greetOverlord();
}
doWork();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_2167/output.terser.js | JavaScript | doWork();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_3217/input.js | JavaScript | o.fn();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_3217/output.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_3217/output.mangleOnly.js | JavaScript | o.fn();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/issue_3217/output.terser.js | JavaScript | console.log(42);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/keyword/input.js | JavaScript | console.log(undefined, NaN, Infinity);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/keyword/output.js | JavaScript | console.log(0, 1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/keyword/output.mangleOnly.js | JavaScript | console.log(undefined, NaN, Infinity);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/keyword/output.terser.js | JavaScript | console.log(0, 1, 2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/mixed/input.js | JavaScript | const FOO = { BAR: 0 };
console.log(FOO.BAR);
console.log(++CONFIG.DEBUG);
console.log(++CONFIG.VALUE);
console.log(++CONFIG["VAL" + "UE"]);
console.log(++DEBUG[CONFIG.VALUE]);
CONFIG.VALUE.FOO = "bar";
console.log(CONFIG);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/mixed/output.js | JavaScript | const FOO = { BAR: 0 };
console.log("moo");
console.log(++CONFIG.DEBUG);
console.log(++CONFIG.VALUE);
console.log(++CONFIG.VALUE);
console.log(++DEBUG[42]);
CONFIG.VALUE.FOO = "bar";
console.log(CONFIG);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/mixed/output.mangleOnly.js | JavaScript | const o = {
BAR: 0
};
console.log(o.BAR);
console.log(++CONFIG.DEBUG);
console.log(++CONFIG.VALUE);
console.log(++CONFIG["VAL" + "UE"]);
console.log(++DEBUG[CONFIG.VALUE]);
CONFIG.VALUE.FOO = "bar";
console.log(CONFIG);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/mixed/output.terser.js | JavaScript | const FOO = { BAR: 0 };
console.log("moo");
console.log(++CONFIG.DEBUG);
console.log(++CONFIG.VALUE);
console.log(++CONFIG.VALUE);
console.log(++DEBUG[42]);
CONFIG.VALUE.FOO = "bar";
console.log(CONFIG);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/must_replace/input.js | JavaScript | console.log(D);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/must_replace/output.js | JavaScript | console.log("foo bar");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/must_replace/output.mangleOnly.js | JavaScript | console.log(D);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/must_replace/output.terser.js | JavaScript | console.log("foo bar");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/object/input.js | JavaScript | function f(CONFIG) {
return CONFIG.VALUE;
}
function g() {
var CONFIG = { VALUE: 1 };
return CONFIG.VALUE;
}
function h() {
return CONFIG.VALUE;
}
if (CONFIG.DEBUG[0]) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/object/output.js | JavaScript | function f(CONFIG) {
return CONFIG.VALUE;
}
function g() {
var CONFIG = {
VALUE: 1
};
return CONFIG.VALUE;
}
function h() {
return 42;
}
if (0) console.debug("foo");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/global_defs/object/output.mangleOnly.js | JavaScript | function n(n) {
return n.VALUE;
}
function o() {
var n = {
VALUE: 1
};
return n.VALUE;
}
function r() {
return CONFIG.VALUE;
}
if (CONFIG.DEBUG[0]) console.debug("foo");
| 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.