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/ascii/ascii_only_true_identifier_es5/output.js | JavaScript | function f() {
var o = { "\ud835\udc9c": true };
return o["\ud835\udc9c"];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/ascii/ascii_only_true_identifier_es5/output.mangleOnly.js | JavaScript | function u() {
var u = {
"\ud835\udc9c": true
};
return u["\ud835\udc9c"];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/ascii/ascii_only_true_identifier_es5/output.terser.js | JavaScript | function f() {
var o = { "\ud835\udc9c": true };
return o["\ud835\udc9c"];
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_function_expression/input.js | JavaScript | 0;
var a = function () {
"use asm";
0.0;
};
function f() {
0;
return function () {
"use asm";
0.0;
};
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_function_expression/output.js | JavaScript | 0;
var a = function () {
"use asm";
0.0;
};
function f() {
0;
return function () {
"use asm";
0.0;
};
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_function_expression/output.mangleOnly.js | JavaScript | 0;
var n = function() {
"use asm";
0.0;
};
function u() {
0;
return function() {
"use asm";
0.0;
};
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_function_expression/output.terser.js | JavaScript | 0;
var a = function () {
"use asm";
0.0;
};
function f() {
0;
return function () {
"use asm";
0.0;
};
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_mixed/input.js | JavaScript | function asm_GeometricMean(stdlib, foreign, buffer) {
"use asm";
var exp = stdlib.Math.exp;
var log = stdlib.Math.log;
var values = new stdlib.Float64Array(buffer);
function logSum(start, end) {
start = start | 0;
end = end | 0;
var sum = 0.0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (p | 0) < (q | 0); p = (p + 8) | 0) {
sum = sum + +log(values[p >> 3]);
}
return +sum;
}
function geometricMean(start, end) {
start = start | 0;
end = end | 0;
return +exp(+logSum(start, end) / +((end - start) | 0));
}
return { geometricMean: geometricMean };
}
function no_asm_GeometricMean(stdlib, foreign, buffer) {
var exp = stdlib.Math.exp;
var log = stdlib.Math.log;
var values = new stdlib.Float64Array(buffer);
function logSum(start, end) {
start = start | 0;
end = end | 0;
var sum = 0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (p | 0) < (q | 0); p = (p + 8) | 0) {
sum = sum + +log(values[p >> 3]);
}
return +sum;
}
function geometricMean(start, end) {
start = start | 0;
end = end | 0;
return +exp(+logSum(start, end) / +((end - start) | 0));
}
return { geometricMean: geometricMean };
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_mixed/output.js | JavaScript | function asm_GeometricMean(stdlib, foreign, buffer) {
"use asm";
var exp = stdlib.Math.exp;
var log = stdlib.Math.log;
var values = new stdlib.Float64Array(buffer);
function logSum(start, end) {
start = start | 0;
end = end | 0;
var sum = 0.0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (p | 0) < (q | 0); p = (p + 8) | 0) {
sum = sum + +log(values[p >> 3]);
}
return +sum;
}
function geometricMean(start, end) {
start = start | 0;
end = end | 0;
return +exp(+logSum(start, end) / +((end - start) | 0));
}
return { geometricMean: geometricMean };
}
function no_asm_GeometricMean(stdlib, foreign, buffer) {
function logSum(start, end) {
(start |= 0), (end |= 0);
var sum = 0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (0 | p) < (0 | q); p = (p + 8) | 0)
sum += +log(values[p >> 3]);
return +sum;
}
function geometricMean(start, end) {
return (
(start |= 0),
(end |= 0),
+exp(+logSum(start, end) / +((end - start) | 0))
);
}
var exp = stdlib.Math.exp,
log = stdlib.Math.log,
values = new stdlib.Float64Array(buffer);
return { geometricMean: geometricMean };
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_mixed/output.mangleOnly.js | JavaScript | function r(r, n, t) {
"use asm";
var a = r.Math.exp;
var e = r.Math.log;
var o = new r.Float64Array(t);
function u(r, n) {
r = r | 0;
n = n | 0;
var t = 0.0, a = 0, u = 0;
for(a = r << 3, u = n << 3; (a | 0) < (u | 0); a = (a + 8) | 0){
t = t + +e(o[a >> 3]);
}
return +t;
}
function c(r, n) {
r = r | 0;
n = n | 0;
return +a(+u(r, n) / +((n - r) | 0));
}
return {
geometricMean: c
};
}
function n(r, n, t) {
var a = r.Math.exp;
var e = r.Math.log;
var o = new r.Float64Array(t);
function u(r, n) {
r = r | 0;
n = n | 0;
var t = 0, a = 0, u = 0;
for(a = r << 3, u = n << 3; (a | 0) < (u | 0); a = (a + 8) | 0){
t = t + +e(o[a >> 3]);
}
return +t;
}
function c(r, n) {
r = r | 0;
n = n | 0;
return +a(+u(r, n) / +((n - r) | 0));
}
return {
geometricMean: c
};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_mixed/output.terser.js | JavaScript | function asm_GeometricMean(stdlib, foreign, buffer) {
"use asm";
var exp = stdlib.Math.exp;
var log = stdlib.Math.log;
var values = new stdlib.Float64Array(buffer);
function logSum(start, end) {
start = start | 0;
end = end | 0;
var sum = 0.0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (p | 0) < (q | 0); p = (p + 8) | 0) {
sum = sum + +log(values[p >> 3]);
}
return +sum;
}
function geometricMean(start, end) {
start = start | 0;
end = end | 0;
return +exp(+logSum(start, end) / +((end - start) | 0));
}
return { geometricMean: geometricMean };
}
function no_asm_GeometricMean(stdlib, foreign, buffer) {
function logSum(start, end) {
(start |= 0), (end |= 0);
var sum = 0,
p = 0,
q = 0;
for (p = start << 3, q = end << 3; (0 | p) < (0 | q); p = (p + 8) | 0)
sum += +log(values[p >> 3]);
return +sum;
}
function geometricMean(start, end) {
return (
(start |= 0),
(end |= 0),
+exp(+logSum(start, end) / +((end - start) | 0))
);
}
var exp = stdlib.Math.exp,
log = stdlib.Math.log,
values = new stdlib.Float64Array(buffer);
return { geometricMean: geometricMean };
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_nested_functions/input.js | JavaScript | 0;
function a() {
"use asm";
0.0;
}
0;
function b() {
0;
function c() {
"use asm";
0.0;
}
0;
function d() {
0;
}
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_nested_functions/output.js | JavaScript | 0;
function a() {
"use asm";
0.0;
}
0;
function b() {
0;
function c() {
"use asm";
0.0;
}
0;
function d() {
0;
}
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_nested_functions/output.mangleOnly.js | JavaScript | 0;
function n() {
"use asm";
0.0;
}
0;
function u() {
0;
function n() {
"use asm";
0.0;
}
0;
function u() {
0;
}
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_nested_functions/output.terser.js | JavaScript | 0;
function a() {
"use asm";
0.0;
}
0;
function b() {
0;
function c() {
"use asm";
0.0;
}
0;
function d() {
0;
}
0;
}
0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_toplevel/input.js | JavaScript | "use asm";
0.0;
function f() {
0.0;
(function () {
0.0;
});
}
0.0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_toplevel/output.js | JavaScript | "use asm";
0.0;
function f() {
0.0;
(function () {
0.0;
});
}
0.0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_toplevel/output.mangleOnly.js | JavaScript | "use asm";
0.0;
function n() {
0.0;
(function() {
0.0;
});
}
0.0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/asm/asm_toplevel/output.terser.js | JavaScript | "use asm";
0.0;
function f() {
0.0;
(function () {
0.0;
});
}
0.0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_global_var/input.js | JavaScript | x = x + 3;
x = x - 3;
x = x / 3;
x = x * 3;
x = x >> 3;
x = x << 3;
x = x >>> 3;
x = x | 3;
x = x ^ 3;
x = x % 3;
x = x & 3;
x = x + g();
x = x - g();
x = x / g();
x = x * g();
x = x >> g();
x = x << g();
x = x >>> g();
x = x | g();
x = x ^ g();
x = x % g();
x = x & g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_global_var/output.js | JavaScript | x += 3;
x -= 3;
x /= 3;
x *= 3;
x >>= 3;
x <<= 3;
x >>>= 3;
x |= 3;
x ^= 3;
x %= 3;
x &= 3;
x += g();
x -= g();
x /= g();
x *= g();
x >>= g();
x <<= g();
x >>>= g();
x |= g();
x ^= g();
x %= g();
x &= g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_global_var/output.mangleOnly.js | JavaScript | x = x + 3;
x = x - 3;
x = x / 3;
x = x * 3;
x = x >> 3;
x = x << 3;
x = x >>> 3;
x = x | 3;
x = x ^ 3;
x = x % 3;
x = x & 3;
x = x + g();
x = x - g();
x = x / g();
x = x * g();
x = x >> g();
x = x << g();
x = x >>> g();
x = x | g();
x = x ^ g();
x = x % g();
x = x & g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_global_var/output.terser.js | JavaScript | x += 3;
x -= 3;
x /= 3;
x *= 3;
x >>= 3;
x <<= 3;
x >>>= 3;
x |= 3;
x ^= 3;
x %= 3;
x &= 3;
x += g();
x -= g();
x /= g();
x *= g();
x >>= g();
x <<= g();
x >>>= g();
x |= g();
x ^= g();
x %= g();
x &= g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_local_var/input.js | JavaScript | var x;
x = x + 3;
x = x - 3;
x = x / 3;
x = x * 3;
x = x >> 3;
x = x << 3;
x = x >>> 3;
x = x | 3;
x = x ^ 3;
x = x % 3;
x = x & 3;
x = x + g();
x = x - g();
x = x / g();
x = x * g();
x = x >> g();
x = x << g();
x = x >>> g();
x = x | g();
x = x ^ g();
x = x % g();
x = x & g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_local_var/output.js | JavaScript | var x;
x += 3;
x -= 3;
x /= 3;
x *= 3;
x >>= 3;
x <<= 3;
x >>>= 3;
x |= 3;
x ^= 3;
x %= 3;
x &= 3;
x += g();
x -= g();
x /= g();
x *= g();
x >>= g();
x <<= g();
x >>>= g();
x |= g();
x ^= g();
x %= g();
x &= g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_local_var/output.mangleOnly.js | JavaScript | var a;
a = a + 3;
a = a - 3;
a = a / 3;
a = a * 3;
a = a >> 3;
a = a << 3;
a = a >>> 3;
a = a | 3;
a = a ^ 3;
a = a % 3;
a = a & 3;
a = a + g();
a = a - g();
a = a / g();
a = a * g();
a = a >> g();
a = a << g();
a = a >>> g();
a = a | g();
a = a ^ g();
a = a % g();
a = a & g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_left_local_var/output.terser.js | JavaScript | var x;
x += 3;
x -= 3;
x /= 3;
x *= 3;
x >>= 3;
x <<= 3;
x >>>= 3;
x |= 3;
x ^= 3;
x %= 3;
x &= 3;
x += g();
x -= g();
x /= g();
x *= g();
x >>= g();
x <<= g();
x >>>= g();
x |= g();
x ^= g();
x %= g();
x &= g();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_global_var/input.js | JavaScript | x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x = 3 * x;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x = 3 | x;
x = 3 ^ x;
x = 3 % x;
x = 3 & x;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_global_var/output.js | JavaScript | x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x *= 3;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x |= 3;
x ^= 3;
x = 3 % x;
x &= 3;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_global_var/output.mangleOnly.js | JavaScript | x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x = 3 * x;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x = 3 | x;
x = 3 ^ x;
x = 3 % x;
x = 3 & x;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_global_var/output.terser.js | JavaScript | x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x *= 3;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x |= 3;
x ^= 3;
x = 3 % x;
x &= 3;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_local_var/input.js | JavaScript | var x;
x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x = 3 * x;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x = 3 | x;
x = 3 ^ x;
x = 3 % x;
x = 3 & x;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_local_var/output.js | JavaScript | var x;
x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x *= 3;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x |= 3;
x ^= 3;
x = 3 % x;
x &= 3;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_local_var/output.mangleOnly.js | JavaScript | var a;
a = (a -= 2) ^ a;
a = 3 + a;
a = 3 - a;
a = 3 / a;
a = 3 * a;
a = 3 >> a;
a = 3 << a;
a = 3 >>> a;
a = 3 | a;
a = 3 ^ a;
a = 3 % a;
a = 3 & a;
a = g() + a;
a = g() - a;
a = g() / a;
a = g() * a;
a = g() >> a;
a = g() << a;
a = g() >>> a;
a = g() | a;
a = g() ^ a;
a = g() % a;
a = g() & a;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/assignment/op_equals_right_local_var/output.terser.js | JavaScript | var x;
x = (x -= 2) ^ x;
x = 3 + x;
x = 3 - x;
x = 3 / x;
x *= 3;
x = 3 >> x;
x = 3 << x;
x = 3 >>> x;
x |= 3;
x ^= 3;
x = 3 % x;
x &= 3;
x = g() + x;
x = g() - x;
x = g() / x;
x = g() * x;
x = g() >> x;
x = g() << x;
x = g() >>> x;
x = g() | x;
x = g() ^ x;
x = g() % x;
x = g() & x;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow/input.js | JavaScript | let a1 = async (x) => await foo(x);
let a2 = async () => await bar();
let a3 = async (x) => await baz(x);
let a4 = async (x, y) => {
await far(x, y);
};
let a5 = async ({ x: x = [1], y: z = 2 }) => {
await wow(x, z);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow/output.js | JavaScript | let a1 = async (x) => await foo(x);
let a2 = async () => await bar();
let a3 = async (x) => await baz(x);
let a4 = async (x, y) => {
await far(x, y);
};
let a5 = async ({ x: x = [1], y: z = 2 }) => {
await wow(x, z);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow/output.mangleOnly.js | JavaScript | let a = async (a)=>await foo(a);
let t = async ()=>await bar();
let w = async (a)=>await baz(a);
let y = async (a, t)=>{
await far(a, t);
};
let c = async ({ x: a = [
1
] , y: t = 2 })=>{
await wow(a, t);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow/output.terser.js | JavaScript | let a1 = async (x) => await foo(x);
let a2 = async () => await bar();
let a3 = async (x) => await baz(x);
let a4 = async (x, y) => {
await far(x, y);
};
let a5 = async ({ x: x = [1], y: z = 2 }) => {
await wow(x, z);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife/input.js | JavaScript | (async () => {
await fetch({});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife/output.js | JavaScript | (async () => {
await fetch({});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife/output.mangleOnly.js | JavaScript | (async ()=>{
await fetch({});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife/output.terser.js | JavaScript | (async () => {
await fetch({});
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife_negate_iife/input.js | JavaScript | (async () => {
await fetch();
})();
(() => {
plain();
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife_negate_iife/output.js | JavaScript | (async () => {
await fetch();
})();
(() => {
plain();
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife_negate_iife/output.mangleOnly.js | JavaScript | (async ()=>{
await fetch();
})();
(()=>{
plain();
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_iife_negate_iife/output.terser.js | JavaScript | (async () => {
await fetch();
})();
(() => {
plain();
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_wait/input.js | JavaScript | var a = async (x, y) => await x(y);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_wait/output.js | JavaScript | var a = async (x, y) => await x(y);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_wait/output.mangleOnly.js | JavaScript | var a = async (a, c)=>await a(c);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_arrow_wait/output.terser.js | JavaScript | var a = async (x, y) => await x(y);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_class/input.js | JavaScript | class Foo {
async m1() {
return await foo(1 + 2);
}
static async m2() {
return await foo(3 + 4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_class/output.js | JavaScript | class Foo {
async m1() {
return await foo(3);
}
static async m2() {
return await foo(7);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_class/output.mangleOnly.js | JavaScript | class a {
async m1() {
return await foo(1 + 2);
}
static async m2() {
return await foo(3 + 4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_class/output.terser.js | JavaScript | class Foo {
async m1() {
return await foo(3);
}
static async m2() {
return await foo(7);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_export/input.js | JavaScript | export async function run() {}
export default async function def() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_export/output.js | JavaScript | export async function run() {}
export default async function def() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_export/output.mangleOnly.js | JavaScript | export async function run() {}
export default async function n() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_export/output.terser.js | JavaScript | export async function run() {}
export default async function def() {}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_declaration/input.js | JavaScript | async function f0() {}
async function f1() {
(await x) + y;
}
async function f2() {
await (x + y);
}
async function f3() {
(await x) + (await y);
}
async function f4() {
await (x + (await y));
}
async function f5() {
await x;
await y;
}
async function f6() {
await x, await y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_declaration/output.js | JavaScript | async function f0() {}
async function f1() {
await x, y;
}
async function f2() {
await (x + y);
}
async function f3() {
await x, await y;
}
async function f4() {
await (x + (await y));
}
async function f5() {
await x;
await y;
}
async function f6() {
await x, await y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_declaration/output.mangleOnly.js | JavaScript | async function a() {}
async function n() {
(await x) + y;
}
async function i() {
await (x + y);
}
async function t() {
(await x) + (await y);
}
async function c() {
await (x + (await y));
}
async function w() {
await x;
await y;
}
async function f() {
await x, await y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_declaration/output.terser.js | JavaScript | async function f0() {}
async function f1() {
await x, y;
}
async function f2() {
await (x + y);
}
async function f3() {
await x, await y;
}
async function f4() {
await (x + (await y));
}
async function f5() {
await x;
await y;
}
async function f6() {
await x, await y;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_expression/input.js | JavaScript | var named = async function foo() {
(await bar(1 + 0)) + (2 + 0);
};
var anon = async function () {
(await (1 + 0)) + bar(2 + 0);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_expression/output.js | JavaScript | var named = async function () {
await bar(1);
};
var anon = async function () {
await 1, bar(2);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_expression/output.mangleOnly.js | JavaScript | var a = async function a() {
(await bar(1 + 0)) + (2 + 0);
};
var n = async function() {
(await (1 + 0)) + bar(2 + 0);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_function_expression/output.terser.js | JavaScript | var named = async function () {
await bar(1);
};
var anon = async function () {
await 1, bar(2);
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_class_method/input.js | JavaScript | class Foo {
async *bar() {
yield await Promise.resolve(2);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_class_method/output.js | JavaScript | class Foo {
async *bar() {
yield await Promise.resolve(2);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_class_method/output.mangleOnly.js | JavaScript | class a {
async *bar() {
yield await Promise.resolve(2);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_class_method/output.terser.js | JavaScript | class Foo {
async *bar() {
yield await Promise.resolve(2);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_function/input.js | JavaScript | async function* baz() {
yield await Promise.resolve(1);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_function/output.js | JavaScript | async function* baz() {
yield await Promise.resolve(1);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_function/output.mangleOnly.js | JavaScript | async function* e() {
yield await Promise.resolve(1);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_function/output.terser.js | JavaScript | async function* baz() {
yield await Promise.resolve(1);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_object_literal_method/input.js | JavaScript | foo({
baz: 4,
async *bar() {
yield await Promise.resolve(3);
},
qux: qux,
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_object_literal_method/output.js | JavaScript | foo({
baz: 4,
async *bar() {
yield await Promise.resolve(3);
},
qux: qux,
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_object_literal_method/output.mangleOnly.js | JavaScript | foo({
baz: 4,
async *bar () {
yield await Promise.resolve(3);
},
qux: qux
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_object_literal_method/output.terser.js | JavaScript | foo({
baz: 4,
async *bar() {
yield await Promise.resolve(3);
},
qux: qux,
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_static_class_method/input.js | JavaScript | class Foo {
static async *bar() {
yield await Promise.resolve(4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_static_class_method/output.js | JavaScript | class Foo {
static async *bar() {
yield await Promise.resolve(4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_static_class_method/output.mangleOnly.js | JavaScript | class a {
static async *bar() {
yield await Promise.resolve(4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_generator_static_class_method/output.terser.js | JavaScript | class Foo {
static async *bar() {
yield await Promise.resolve(4);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_identifiers/input.js | JavaScript | var async=function(x){console.log("async",x)};var await=function(x){console.log("await",x)};async(1);await(2); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_identifiers/output.js | JavaScript | var async = function (x) {
console.log("async", x);
};
var await = function (x) {
console.log("await", x);
};
async(1);
await 2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_identifiers/output.mangleOnly.js | JavaScript | var o = function(o) {
console.log("async", o);
};
var a = function(o) {
console.log("await", o);
};
o(1);
await (2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_identifiers/output.terser.js | JavaScript | var async=function(x){console.log("async",x)};var await=function(x){console.log("await",x)};async(1);await(2); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_inline/input.js | JavaScript | (async function () {
return await 3;
})();
(async function (x) {
await console.log(x);
})(4);
function invoke(x, y) {
return x(y);
}
invoke(async function () {
return await 1;
});
invoke(async function (x) {
await console.log(x);
}, 2);
function top() {
console.log("top");
}
top();
async function async_top() {
console.log("async_top");
}
async_top();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_inline/output.js | JavaScript | !(async function () {
await 3;
})();
!(async function (x) {
await console.log(4);
})();
function invoke(x, y) {
return x(y);
}
invoke(async function () {
return await 1;
});
invoke(async function (x) {
await console.log(x);
}, 2);
console.log("top");
!(async function () {
console.log("async_top");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_inline/output.mangleOnly.js | JavaScript | (async function() {
return await 3;
})();
(async function(n) {
await console.log(n);
})(4);
function n(n, o) {
return n(o);
}
n(async function() {
return await 1;
});
n(async function(n) {
await console.log(n);
}, 2);
function o() {
console.log("top");
}
o();
async function c() {
console.log("async_top");
}
c();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_inline/output.terser.js | JavaScript | !(async function () {
await 3;
})();
!(async function (x) {
await console.log(4);
})();
function invoke(x, y) {
return x(y);
}
invoke(async function () {
return await 1;
});
invoke(async function (x) {
await console.log(x);
}, 2);
console.log("top");
!(async function () {
console.log("async_top");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_object_literal/input.js | JavaScript | var obj = {
async a() {
await foo(1 + 0);
},
anon: async function () {
await foo(2 + 0);
},
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_object_literal/output.js | JavaScript | var obj = {
async a() {
await foo(1);
},
anon: async function () {
await foo(2);
},
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_object_literal/output.mangleOnly.js | JavaScript | var a = {
async a () {
await foo(1 + 0);
},
anon: async function() {
await foo(2 + 0);
}
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_object_literal/output.terser.js | JavaScript | var obj = {
async a() {
await foo(1);
},
anon: async function () {
await foo(2);
},
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_shorthand_property/input.js | JavaScript | function print(o){console.log(o.async+" "+o.await)}var async="Async",await="Await";print({async:async});print({await:await});print({async:async,await:await});print({await:await,async:async});print({async:async});print({await:await});print({async:async,await:await});print({await:await,async:async}); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_shorthand_property/output.js | JavaScript | function a(a) {
console.log(a.async + " " + a.await);
}
var n = "Async",
c = "Await";
a({ async: n });
a({ await: c });
a({ async: n, await: c });
a({ await: c, async: n });
a({ async: n });
a({ await: c });
a({ async: n, await: c });
a({ await: c, async: n });
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_shorthand_property/output.mangleOnly.js | JavaScript | function a(a) {
console.log(a.async + " " + a.await);
}
var n = "Async", c = "Await";
a({
async: n
});
a({
await: c
});
a({
async: n,
await: c
});
a({
await: c,
async: n
});
a({
async: n
});
a({
await: c
});
a({
async: n,
await: c
});
a({
await: c,
async: n
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/async_shorthand_property/output.terser.js | JavaScript | function a(a) {
console.log(a.async + " " + a.await);
}
var n = "Async",
c = "Await";
a({ async: n });
a({ await: c });
a({ async: n, await: c });
a({ await: c, async: n });
a({ async: n });
a({ await: c });
a({ async: n, await: c });
a({ await: c, async: n });
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/async/await_precedence/input.js | JavaScript | async function f1() {
(await x) + y;
}
async function f2() {
await (x + y);
}
| 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.