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/issue_1841_2/output.terser.js | JavaScript | var b = 10;
!(function (arg) {
for (var key in "hi") arg.baz, (b = 42);
})(--b);
console.log(b);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_203/input.js | JavaScript | var m = {};
var fn = Function("require", "module", "exports", "module.exports = 42;");
fn(null, m, m.exports);
console.log(m.exports);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_203/output.js | JavaScript | var m = {};
var fn = Function("n,o", "o.exports=42");
fn(null, m, m.exports);
console.log(m.exports);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_203/output.mangleOnly.js | JavaScript | var o = {};
var e = Function("require", "module", "exports", "module.exports = 42;");
e(null, o, o.exports);
console.log(o.exports);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_203/output.terser.js | JavaScript | var m = {};
var fn = Function("n,o", "o.exports=42");
fn(null, m, m.exports);
console.log(m.exports);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2084/input.js | JavaScript | var c = 0;
!(function () {
!(function (c) {
c = 1 + c;
var c = 0;
function f14(a_1) {
if (((c = 1 + c), 0 !== (23).toString()))
(c = 1 + c), a_1 && (a_1[0] = 0);
}
f14();
})(-1);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2084/output.js | JavaScript | var c = 0;
!(function (c) {
(c = 1 + c), (c = 1 + (c = 0)), 0 !== (23).toString() && (c = 1 + c);
})(-1),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2084/output.mangleOnly.js | JavaScript | var n = 0;
!(function() {
!(function(n) {
n = 1 + n;
var n = 0;
function o(o) {
if (((n = 1 + n), 0 !== (23).toString())) (n = 1 + n), o && (o[0] = 0);
}
o();
})(-1);
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2084/output.terser.js | JavaScript | var c = 0;
!(function (c) {
(c = 1 + c), (c = 1 + (c = 0)), 0 !== (23).toString() && (c = 1 + c);
})(-1),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2097/input.js | JavaScript | function f() {
try {
throw 0;
} catch (e) {
console.log(arguments[0]);
}
}
f(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2097/output.js | JavaScript | !(function () {
try {
throw 0;
} catch (e) {
console.log(arguments[0]);
}
})(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2097/output.mangleOnly.js | JavaScript | function o() {
try {
throw 0;
} catch (o) {
console.log(arguments[0]);
}
}
o(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2097/output.terser.js | JavaScript | !(function () {
try {
throw 0;
} catch (e) {
console.log(arguments[0]);
}
})(1);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2101/input.js | JavaScript | a = {};
console.log(
(function () {
return (function () {
return this.a;
})();
})() ===
(function () {
return a;
})()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2101/output.js | JavaScript | a = {};
console.log(
(function () {
return this.a;
})() === a
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2101/output.mangleOnly.js | JavaScript | a = {};
console.log((function() {
return (function() {
return this.a;
})();
})() === (function() {
return a;
})());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2101/output.terser.js | JavaScript | a = {};
console.log(
(function () {
return this.a;
})() === a
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2107/input.js | JavaScript | var c = 0;
!(function () {
c++;
})(
c++ +
new (function () {
this.a = 0;
var a = (c = c + 1) + (c = 1 + c);
return c++ + a;
})()
);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2107/output.js | JavaScript | var c = 0;
c++,
new (function () {
(this.a = 0), (c = 1 + (c += 1)), c++;
})(),
c++,
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2107/output.mangleOnly.js | JavaScript | var n = 0;
!(function() {
n++;
})(n++ + new (function() {
this.a = 0;
var o = (n = n + 1) + (n = 1 + n);
return n++ + o;
})());
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2107/output.terser.js | JavaScript | var c = 0;
c++,
new (function () {
(this.a = 0), (c = 1 + (c += 1)), c++;
})(),
c++,
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_1/input.js | JavaScript | var c = 0;
!(function (a) {
a = 0;
})([
{ 0: (c = c + 1), length: (c = 1 + c) },
typeof void (function a() {
var b = (function f1(a) {})(b && (b.b += ((c = c + 1), 0)));
})(),
]);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_1/output.js | JavaScript | var c = 0;
(c = 1 + (c += 1)),
(function () {
var b = void (b && (b.b += ((c += 1), 0)));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_1/output.mangleOnly.js | JavaScript | var n = 0;
!(function(n) {
n = 0;
})([
{
0: (n = n + 1),
length: (n = 1 + n)
},
typeof void (function o() {
var o = (function n(n) {})(o && (o.b += ((n = n + 1), 0)));
})()
]);
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_1/output.terser.js | JavaScript | var c = 0;
(c = 1 + (c += 1)),
(function () {
var b = void (b && (b.b += ((c += 1), 0)));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_2/input.js | JavaScript | var c = 0;
!(function (a) {
a = 0;
})([
{ 0: (c = c + 1), length: (c = 1 + c) },
typeof void (function a() {
var b = (function f1(a) {})(b && (b.b += ((c = c + 1), 0)));
})(),
]);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_2/output.js | JavaScript | var c = 0;
(c = 1 + (c += 1)),
(function () {
var b = void (b && (b.b += ((c += 1), 0)));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_2/output.mangleOnly.js | JavaScript | var n = 0;
!(function(n) {
n = 0;
})([
{
0: (n = n + 1),
length: (n = 1 + n)
},
typeof void (function o() {
var o = (function n(n) {})(o && (o.b += ((n = n + 1), 0)));
})()
]);
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2114_2/output.terser.js | JavaScript | var c = 0;
(c = 1 + (c += 1)),
(function () {
var b = void (b && (b.b += ((c += 1), 0)));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2428/input.js | JavaScript | function bar(k) {
console.log(k);
}
function foo(x) {
return bar(x);
}
function baz(a) {
foo(a);
}
baz(42);
baz("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2428/output.js | JavaScript | function baz(a) {
console.log(a);
}
baz(42);
baz("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2428/output.mangleOnly.js | JavaScript | function n(n) {
console.log(n);
}
function o(o) {
return n(o);
}
function c(n) {
o(n);
}
c(42);
c("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2428/output.terser.js | JavaScript | function baz(a) {
console.log(a);
}
baz(42);
baz("PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2476/input.js | JavaScript | function foo(x, y, z) {
return x < y ? x * y + z : x * z - y;
}
for (var sum = 0, i = 0; i < 10; i++) sum += foo(i, i + 1, 3 * i);
console.log(sum);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2476/output.js | JavaScript | for(var sum = 0, i = 0; i < 10; i++){
var x, y, z;
sum += (x = i, y = i + 1, z = 3 * i, x < y ? x * y + z : x * z - y);
}
console.log(sum);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2476/output.mangleOnly.js | JavaScript | function o(o, n, r) {
return o < n ? o * n + r : o * r - n;
}
for(var n = 0, r = 0; r < 10; r++)n += o(r, r + 1, 3 * r);
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2476/output.terser.js | JavaScript | for (var sum = 0, i = 0; i < 10; i++)
sum += ((x = i), (y = i + 1), (z = 3 * i), x < y ? x * y + z : x * z - y);
var x, y, z;
console.log(sum);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_1/input.js | JavaScript | function outer() {
function inner(value) {
function closure() {
return value;
}
return function () {
return closure();
};
}
return inner("Hello");
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_1/output.js | JavaScript | function outer() {
return function() {
return "Hello";
};
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_1/output.mangleOnly.js | JavaScript | function n() {
function n(n) {
function r() {
return n;
}
return function() {
return r();
};
}
return n("Hello");
}
console.log("Greeting:", n()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_1/output.terser.js | JavaScript | function outer() {
return (
(value = "Hello"),
function () {
return value;
}
);
var value;
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_2/input.js | JavaScript | function outer() {
function inner(value) {
function closure() {
return value;
}
return function () {
return closure();
};
}
return inner("Hello");
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_2/output.js | JavaScript | function outer() {
return function() {
return "Hello";
};
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_2/output.mangleOnly.js | JavaScript | function n() {
function n(n) {
function r() {
return n;
}
return function() {
return r();
};
}
return n("Hello");
}
console.log("Greeting:", n()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_2/output.terser.js | JavaScript | function outer() {
return function () {
return "Hello";
};
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_3/input.js | JavaScript | function outer() {
function inner(value) {
function closure() {
return value;
}
return function () {
return closure();
};
}
return inner("Hello");
}
console.log("Greeting:", outer()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_3/output.js | JavaScript | console.log("Greeting:", "Hello");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_3/output.mangleOnly.js | JavaScript | function n() {
function n(n) {
function r() {
return n;
}
return function() {
return r();
};
}
return n("Hello");
}
console.log("Greeting:", n()());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2531_3/output.terser.js | JavaScript | console.log("Greeting:", "Hello");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_1/input.js | JavaScript | var a = "FAIL";
(function () {
function f(b) {
function g(b) {
b && b();
}
g();
(function () {
b && (a = "PASS");
})();
}
f("foo");
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_1/output.js | JavaScript | var a = "FAIL";
console.log(a = "PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_1/output.mangleOnly.js | JavaScript | var n = "FAIL";
(function() {
function o(o) {
function c(n) {
n && n();
}
c();
(function() {
o && (n = "PASS");
})();
}
o("foo");
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_1/output.terser.js | JavaScript | var a = "FAIL";
(function () {
var b;
(b = "foo"),
(function (b) {
b && b();
})(),
b && (a = "PASS");
})(),
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_2/input.js | JavaScript | var a = "FAIL";
(function () {
function f(b) {
function g(b) {
b && b();
}
g();
(function () {
b && (a = "PASS");
})();
}
f("foo");
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_2/output.js | JavaScript | var a = "FAIL";
(a = "PASS"), console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_2/output.mangleOnly.js | JavaScript | var n = "FAIL";
(function() {
function o(o) {
function c(n) {
n && n();
}
c();
(function() {
o && (n = "PASS");
})();
}
o("foo");
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2601_2/output.terser.js | JavaScript | var a = "FAIL";
(a = "PASS"), console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_1/input.js | JavaScript | var a = "FAIL";
(function () {
try {
throw 1;
} catch (b) {
(function f(b) {
b && b();
})();
b && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_1/output.js | JavaScript | var a = "FAIL";
(function() {
try {
throw 1;
} catch (b) {
b && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_1/output.mangleOnly.js | JavaScript | var o = "FAIL";
(function() {
try {
throw 1;
} catch (c) {
(function o(o) {
o && o();
})();
c && (o = "PASS");
}
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_1/output.terser.js | JavaScript | var a = "FAIL";
(function () {
try {
throw 1;
} catch (b) {
(function (b) {
b && b();
})();
b && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_2/input.js | JavaScript | var a = "FAIL";
(function () {
try {
throw 1;
} catch (b) {
(function f(b) {
b && b();
})();
b && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_2/output.js | JavaScript | var a = "FAIL";
(function() {
try {
throw 1;
} catch (o) {
o && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_2/output.mangleOnly.js | JavaScript | var o = "FAIL";
(function() {
try {
throw 1;
} catch (c) {
(function o(o) {
o && o();
})();
c && (o = "PASS");
}
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2604_2/output.terser.js | JavaScript | var a = "FAIL";
(function () {
try {
throw 1;
} catch (o) {
o && (a = "PASS");
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2616/input.js | JavaScript | var c = "FAIL";
(function () {
function f() {
function g(NaN) {
(true << NaN) - 0 / 0 || (c = "PASS");
}
g([]);
}
f();
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2616/output.js | JavaScript | var c = "FAIL";
(true << []) - 0 / 0 || (c = "PASS");
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2616/output.mangleOnly.js | JavaScript | var n = "FAIL";
(function() {
function o() {
function o(o) {
(true << o) - 0 / 0 || (n = "PASS");
}
o([]);
}
o();
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2616/output.terser.js | JavaScript | var c = "FAIL";
!(function (NaN) {
(true << NaN) - 0 / 0 || (c = "PASS");
})([]);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_1/input.js | JavaScript | var c = "FAIL";
(function () {
function f(a) {
var b = (function g(a) {
a && a();
})();
if (a) {
var d = (c = "PASS");
}
}
f(1);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_1/output.js | JavaScript | var c = "FAIL";
console.log(c = "PASS");
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_1/output.mangleOnly.js | JavaScript | var n = "FAIL";
(function() {
function o(o) {
var c = (function n(n) {
n && n();
})();
if (o) {
var f = (n = "PASS");
}
}
o(1);
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_1/output.terser.js | JavaScript | var c = "FAIL";
!(function (a) {
if (
((function (a) {
a && a();
})(),
a)
)
c = "PASS";
})(1),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_2/input.js | JavaScript | var c = "FAIL";
(function () {
function f(a) {
var b = (function g(a) {
a && a();
})();
if (a) {
var d = (c = "PASS");
}
}
f(1);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_2/output.js | JavaScript | var c = "FAIL";
(c = "PASS"), console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_2/output.mangleOnly.js | JavaScript | var n = "FAIL";
(function() {
function o(o) {
var c = (function n(n) {
n && n();
})();
if (o) {
var f = (n = "PASS");
}
}
o(1);
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_2/output.terser.js | JavaScript | var c = "FAIL";
(c = "PASS"), console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_3/input.js | JavaScript | var c = "FAIL";
(function () {
function f(a, NaN) {
function g() {
switch (a) {
case a:
break;
case ((c = "PASS"), NaN):
break;
}
}
g();
}
f(0 / 0);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_3/output.js | JavaScript | var c = "FAIL";
!(function (a, NaN) {
(function () {
switch (a) {
case a:
break;
case ((c = "PASS"), NaN):
break;
}
})();
})(NaN);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_3/output.mangleOnly.js | JavaScript | var c = "FAIL";
(function() {
function n(n, o) {
function a() {
switch(n){
case n:
break;
case ((c = "PASS"), o):
break;
}
}
a();
}
n(0 / 0);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_3/output.terser.js | JavaScript | var c = "FAIL";
!(function (a, NaN) {
(function () {
switch (a) {
case a:
break;
case ((c = "PASS"), NaN):
break;
}
})();
})(NaN);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_4/input.js | JavaScript | var c = "FAIL";
(function () {
function f(a, NaN) {
function g() {
switch (a) {
case a:
break;
case ((c = "PASS"), NaN):
break;
}
}
g();
}
f(0 / 0);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_4/output.js | JavaScript | var c = "FAIL";
(function(a, NaN) {
(function() {
switch(a){
case a:
case void (c = "PASS"):
}
})();
})(0 / 0);
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_4/output.mangleOnly.js | JavaScript | var c = "FAIL";
(function() {
function n(n, o) {
function a() {
switch(n){
case n:
break;
case ((c = "PASS"), o):
break;
}
}
a();
}
n(0 / 0);
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2620_4/output.terser.js | JavaScript | var c = "FAIL";
!(function () {
if (NaN === void (c = "PASS"));
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_1/input.js | JavaScript | var c = 0;
(function () {
while (f());
function f() {
var a = (function () {
var b = c++,
d = (c = 1 + c);
})();
}
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_1/output.js | JavaScript | var c = 0;
(function () {
while (void (c = 1 + ++c));
})(),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_1/output.mangleOnly.js | JavaScript | var n = 0;
(function() {
while(o());
function o() {
var o = (function() {
var o = n++, c = (n = 1 + n);
})();
}
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_1/output.terser.js | JavaScript | var c = 0;
(function () {
while (void (c = 1 + ++c));
})(),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_2/input.js | JavaScript | var c = 0;
!(function () {
while (f()) {}
function f() {
var not_used = (function () {
c = 1 + c;
})((c = c + 1));
}
})();
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_2/output.js | JavaScript | var c = 0;
!(function () {
while (void (c = 1 + (c += 1)));
})(),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_2/output.mangleOnly.js | JavaScript | var n = 0;
!(function() {
while(o()){}
function o() {
var o = (function() {
n = 1 + n;
})((n = n + 1));
}
})();
console.log(n);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_2/output.terser.js | JavaScript | var c = 0;
!(function () {
while (void (c = 1 + (c += 1)));
})(),
console.log(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_3/input.js | JavaScript | var x = 2,
a = 1;
(function () {
function f1(a) {
f2();
--x >= 0 && f1({});
}
f1(a++);
function f2() {
a++;
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_3/output.js | JavaScript | var x = 2, a = 1;
(function f1(a1) {
a++;
--x >= 0 && f1({});
})(a++);
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_3/output.mangleOnly.js | JavaScript | var n = 2, o = 1;
(function() {
function c(o) {
f();
--n >= 0 && c({});
}
c(o++);
function f() {
o++;
}
})();
console.log(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_3/output.terser.js | JavaScript | var x = 2,
a = 1;
(function () {
(function f1(a) {
f2();
--x >= 0 && f1({});
})(a++);
function f2() {
a++;
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_4/input.js | JavaScript | var x = 3,
a = 1,
b = 2;
(function () {
(function f1() {
while (--x >= 0 && f2());
})();
function f2() {
a++ + (b += a);
}
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_4/output.js | JavaScript | var x = 3, a = 1, b = 2;
(function() {
while(--x >= 0 && void (a++, b += a));
})();
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/functions/issue_2630_4/output.mangleOnly.js | JavaScript | var n = 3, o = 1, c = 2;
(function() {
(function o() {
while(--n >= 0 && i());
})();
function i() {
o++ + (c += o);
}
})();
console.log(o);
| 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.