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/issue_1034/non_hoisted_function_after_return_2a_strict/output.js | JavaScript | "use strict";
function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2a_strict/output.mangleOnly.js | JavaScript | "use strict";
function n(n) {
if (n) {
return o(1);
var r = not_called(1);
} else {
return o(2);
var t = not_called(2);
}
var e = o(3);
function o(n) {
return 7 - n;
}
function u() {}
return t || e;
}
console.log(n(0), n(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2a_strict/output.terser.js | JavaScript | "use strict";
function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b/input.js | JavaScript | function foo(x) {
if (x) {
return bar(1);
} else {
return bar(2);
var b;
}
var c = bar(3);
function bar(x) {
return 7 - x;
}
return b || c;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b/output.js | JavaScript | function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b/output.mangleOnly.js | JavaScript | function r(r) {
if (r) {
return t(1);
} else {
return t(2);
var n;
}
var e = t(3);
function t(r) {
return 7 - r;
}
return n || e;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b/output.terser.js | JavaScript | function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b_strict/input.js | JavaScript | "use strict";
function foo(x) {
if (x) {
return bar(1);
} else {
return bar(2);
var b;
}
var c = bar(3);
function bar(x) {
return 7 - x;
}
return b || c;
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b_strict/output.js | JavaScript | "use strict";
function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b_strict/output.mangleOnly.js | JavaScript | "use strict";
function r(r) {
if (r) {
return t(1);
} else {
return t(2);
var n;
}
var e = t(3);
function t(r) {
return 7 - r;
}
return n || e;
}
console.log(r(0), r(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_2b_strict/output.terser.js | JavaScript | "use strict";
function foo(x) {
return bar(x ? 1 : 2);
function bar(x) {
return 7 - x;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_strict/input.js | JavaScript | "use strict";
function foo(x) {
if (x) {
return bar();
not_called1();
} else {
return baz();
not_called2();
}
function bar() {
return 7;
}
return not_reached;
function UnusedFunction() {}
function baz() {
return 8;
}
}
console.log(foo(0... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_strict/output.js | JavaScript | "use strict";
function foo(x) {
return x ? bar() : baz();
function bar() {
return 7;
}
function baz() {
return 8;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_strict/output.mangleOnly.js | JavaScript | "use strict";
function n(n) {
if (n) {
return t();
not_called1();
} else {
return r();
not_called2();
}
function t() {
return 7;
}
return not_reached;
function e() {}
function r() {
return 8;
}
}
console.log(n(0), n(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1034/non_hoisted_function_after_return_strict/output.terser.js | JavaScript | "use strict";
function foo(x) {
return x ? bar() : baz();
function bar() {
return 7;
}
function baz() {
return 8;
}
}
console.log(foo(0), foo(1));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_declaration/input.js | JavaScript | const goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_declaration/output.js | JavaScript | const goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_declaration/output.mangleOnly.js | JavaScript | const c = c || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_declaration/output.terser.js | JavaScript | const goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_pragma/input.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_pragma/output.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_pragma/output.mangleOnly.js | JavaScript | var a = a || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/const_pragma/output.terser.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/not_const/input.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/not_const/output.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/not_const/output.mangleOnly.js | JavaScript | var a = a || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1041/not_const/output.terser.js | JavaScript | var goog = goog || {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1043/issue_1043/input.js | JavaScript | function* range(start = 0, end = null, step = 1) {
if (end == null) {
end = start;
start = 0;
}
for (let i = start; i < end; i += step) {
yield i;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1043/issue_1043/output.js | JavaScript | function* range(start = 0, end = null, step = 1) {
if (null == end) {
end = start;
start = 0;
}
for (let i = start; i < end; i += step) yield i;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1043/issue_1043/output.mangleOnly.js | JavaScript | function* l(n = 0, f = null, i = 1) {
if (f == null) {
f = n;
n = 0;
}
for(let l = n; l < f; l += i){
yield l;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1043/issue_1043/output.terser.js | JavaScript | function* range(start = 0, end = null, step = 1) {
if (null == end) {
end = start;
start = 0;
}
for (let i = start; i < end; i += step) yield i;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1044/issue_1044/input.js | JavaScript | const mixed = Base ? class extends Base {} : class {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1044/issue_1044/output.js | JavaScript | const mixed = Base ? class extends Base {} : class {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1044/issue_1044/output.mangleOnly.js | JavaScript | const s = Base ? class extends Base {
} : class {
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1044/issue_1044/output.terser.js | JavaScript | const mixed = Base ? class extends Base {} : class {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/deeply_nested/input.js | JavaScript | (function () {
if (!window) {
return;
}
function f() {}
function g() {}
if (!document) {
return;
}
function h() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/deeply_nested/output.js | JavaScript | (function () {
if (window) if (document);
function f() {}
function g() {}
function h() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/deeply_nested/output.mangleOnly.js | JavaScript | (function() {
if (!window) {
return;
}
function n() {}
function i() {}
if (!document) {
return;
}
function t() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/deeply_nested/output.terser.js | JavaScript | (function () {
if (window) if (document);
function f() {}
function g() {}
function h() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_else_if_return/input.js | JavaScript | function e() {
function f() {}
if (window) function g() {}
else return;
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_else_if_return/output.js | JavaScript | function e() {
function f() {}
if (window) function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_else_if_return/output.mangleOnly.js | JavaScript | function n() {
function n() {}
if (window) function i() {}
else return;
function f() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_else_if_return/output.terser.js | JavaScript | function e() {
function f() {}
if (window) function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_hoist_funs/input.js | JavaScript | function e() {
function f() {}
if (!window) return;
else function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_hoist_funs/output.js | JavaScript | function e() {
function f() {}
function h() {}
if (window) function g() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_hoist_funs/output.mangleOnly.js | JavaScript | function n() {
function n() {}
if (!window) return;
else function i() {}
function f() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_hoist_funs/output.terser.js | JavaScript | function e() {
function f() {}
function h() {}
if (window) function g() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_if_return/input.js | JavaScript | function e() {
function f() {}
if (!window) return;
else function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_if_return/output.js | JavaScript | function e() {
function f() {}
if (window) function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_if_return/output.mangleOnly.js | JavaScript | function n() {
function n() {}
if (!window) return;
else function i() {}
function f() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/defun_if_return/output.terser.js | JavaScript | function e() {
function f() {}
if (window) function g() {}
function h() {}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/multiple_functions/input.js | JavaScript | (function () {
if (!window) {
return;
}
function f() {}
function g() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/multiple_functions/output.js | JavaScript | (function () {
if (window);
function f() {}
function g() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/multiple_functions/output.mangleOnly.js | JavaScript | (function() {
if (!window) {
return;
}
function n() {}
function i() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/multiple_functions/output.terser.js | JavaScript | (function () {
if (window);
function f() {}
function g() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/not_hoisted_when_already_nested/input.js | JavaScript | (function () {
if (!window) {
return;
}
if (foo) function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/not_hoisted_when_already_nested/output.js | JavaScript | (function () {
if (window) if (foo) function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/not_hoisted_when_already_nested/output.mangleOnly.js | JavaScript | (function() {
if (!window) {
return;
}
if (foo) function n() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/not_hoisted_when_already_nested/output.terser.js | JavaScript | (function () {
if (window) if (foo) function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/single_function/input.js | JavaScript | (function () {
if (!window) {
return;
}
function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/single_function/output.js | JavaScript | (function () {
if (window);
function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/single_function/output.mangleOnly.js | JavaScript | (function() {
if (!window) {
return;
}
function n() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1052/single_function/output.terser.js | JavaScript | (function () {
if (window);
function f() {}
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_in_with_scope/input.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
with (o) {
vInfinity = Infinity;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_in_with_scope/output.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
with (o) vInfinity = Infinity;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_in_with_scope/output.mangleOnly.js | JavaScript | var o = {
Infinity: "oInfinity"
};
var vInfinity = "Infinity";
with (o){
vInfinity = Infinity;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_in_with_scope/output.terser.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
with (o) vInfinity = Infinity;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_not_in_with_scope/input.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
vInfinity = Infinity;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_not_in_with_scope/output.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
vInfinity = 1 / 0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_not_in_with_scope/output.mangleOnly.js | JavaScript | var i = {
Infinity: "oInfinity"
};
var n = "Infinity";
n = Infinity;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/Infinity_not_in_with_scope/output.terser.js | JavaScript | var o = { Infinity: "oInfinity" };
var vInfinity = "Infinity";
vInfinity = 1 / 0;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope/input.js | JavaScript | var f = console.log;
var o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 / 0));
f(2 + 7 + undefined, 2 + 7 + void 0);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 /... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope/output.js | JavaScript | var f = console.log,
o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(void 0, void 0);
f(NaN, NaN);
f(1 / 0, 1 / 0);
f(-1 / 0, -1 / 0);
f(NaN, NaN);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(9 + undefined, 9 + void 0);
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope/output.mangleOnly.js | JavaScript | var f = console.log;
var o = {
undefined: 3,
NaN: 4,
Infinity: 5
};
if (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 / 0));
f(2 + 7 + undefined, 2 + 7 + void 0);
}
with (o){
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope/output.terser.js | JavaScript | var f = console.log,
o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(void 0, void 0);
f(NaN, NaN);
f(1 / 0, 1 / 0);
f(-1 / 0, -1 / 0);
f(NaN, NaN);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(9 + undefined, 9 + void 0);
... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope_keep_infinity/input.js | JavaScript | var f = console.log;
var o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 / 0));
f(2 + 7 + undefined, 2 + 7 + void 0);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 /... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope_keep_infinity/output.js | JavaScript | var f = console.log,
o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(void 0, void 0);
f(NaN, NaN);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(NaN, NaN);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(9 + undefined, 9 + voi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope_keep_infinity/output.mangleOnly.js | JavaScript | var f = console.log;
var o = {
undefined: 3,
NaN: 4,
Infinity: 5
};
if (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -(1 / 0));
f(2 + 7 + undefined, 2 + 7 + void 0);
}
with (o){
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/assorted_Infinity_NaN_undefined_in_with_scope_keep_infinity/output.terser.js | JavaScript | var f = console.log,
o = { undefined: 3, NaN: 4, Infinity: 5 };
if (o) {
f(void 0, void 0);
f(NaN, NaN);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(NaN, NaN);
}
with (o) {
f(undefined, void 0);
f(NaN, 0 / 0);
f(Infinity, 1 / 0);
f(-Infinity, -1 / 0);
f(9 + undefined, 9 + voi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/check_drop_unused_in_peer_function/input.js | JavaScript | function outer() {
var o = {};
var unused = {};
function foo() {
function not_in_use() {
var nested_unused = "foo";
return 24;
}
var unused = {};
with (o) {
var foo = "something";
}
doSomething(o);
}
function bar() {... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/check_drop_unused_in_peer_function/output.js | JavaScript | function outer() {
var o = {};
function foo() {
function not_in_use() {
return 24;
}
var unused = {};
with (o) var foo = "something";
doSomething(o);
}
function bar() {
doSomethingElse();
}
foo();
bar();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/check_drop_unused_in_peer_function/output.mangleOnly.js | JavaScript | function outer() {
var o = {};
var unused = {};
function foo() {
function not_in_use() {
var n = "foo";
return 24;
}
var unused = {};
with (o){
var foo = "something";
}
doSomething(o);
}
function bar() {
var ... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/check_drop_unused_in_peer_function/output.terser.js | JavaScript | function outer() {
var o = {};
var unused = {};
function foo() {
function not_in_use() {
return 24;
}
var unused = {};
with (o) var foo = "something";
doSomething(o);
}
function bar() {
doSomethingElse();
}
foo();
bar();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/compress_with_with_in_other_scope/input.js | JavaScript | function foo() {
var o = 42;
with (o) {
var foo = "something";
}
doSomething(o);
}
function bar() {
var unused = 42;
return something();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/compress_with_with_in_other_scope/output.js | JavaScript | function foo() {
var o = 42;
with (o) var foo = "something";
doSomething(o);
}
function bar() {
return something();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/compress_with_with_in_other_scope/output.mangleOnly.js | JavaScript | function foo() {
var o = 42;
with (o){
var foo = "something";
}
doSomething(o);
}
function bar() {
var n = 42;
return something();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/compress_with_with_in_other_scope/output.terser.js | JavaScript | function foo() {
var o = 42;
with (o) var foo = "something";
doSomething(o);
}
function bar() {
return something();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_function_scope/input.js | JavaScript | function foo() {
var o = 42;
with (o) {
var foo = "something";
}
doSomething(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_function_scope/output.js | JavaScript | function foo() {
var o = 42;
with (o) var foo = "something";
doSomething(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_function_scope/output.mangleOnly.js | JavaScript | function foo() {
var o = 42;
with (o){
var foo = "something";
}
doSomething(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_function_scope/output.terser.js | JavaScript | function foo() {
var o = 42;
with (o) var foo = "something";
doSomething(o);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_global_scope/input.js | JavaScript | var o = 42;
with (o) {
var foo = "something";
}
doSomething(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_global_scope/output.js | JavaScript | var o = 42;
with (o) var foo = "something";
doSomething(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_global_scope/output.mangleOnly.js | JavaScript | var o = 42;
with (o){
var foo = "something";
}
doSomething(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_in_global_scope/output.terser.js | JavaScript | var o = 42;
with (o) var foo = "something";
doSomething(o);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_using_existing_variable_outside_scope/input.js | JavaScript | function f() {
var o = {};
var unused = {};
function foo() {
with (o) {
var foo = "something";
}
doSomething(o);
}
foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_using_existing_variable_outside_scope/output.js | JavaScript | function f() {
var o = {};
var unused = {};
function foo() {
with (o) var foo = "something";
doSomething(o);
}
foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_using_existing_variable_outside_scope/output.mangleOnly.js | JavaScript | function f() {
var o = {};
var unused = {};
function foo() {
with (o){
var foo = "something";
}
doSomething(o);
}
foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_1105/with_using_existing_variable_outside_scope/output.terser.js | JavaScript | function f() {
var o = {};
var unused = {};
function foo() {
with (o) var foo = "something";
doSomething(o);
}
foo();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/issue_12/keep_name_of_getter/input.js | JavaScript | a = { get 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.