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/negate_iife/negate_iife_3_evaluate/output.mangleOnly.js | JavaScript | (function() {
return true;
})() ? console.log(true) : console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_evaluate/output.terser.js | JavaScript | console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off/input.js | JavaScript | (function () {
return t;
})()
? console.log(true)
: console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off/output.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off/output.mangleOnly.js | JavaScript | (function() {
return t;
})() ? console.log(true) : console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off/output.terser.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off_evaluate/input.js | JavaScript | (function () {
return true;
})()
? console.log(true)
: console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off_evaluate/output.js | JavaScript | console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off_evaluate/output.mangleOnly.js | JavaScript | (function() {
return true;
})() ? console.log(true) : console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_off_evaluate/output.terser.js | JavaScript | console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_side_effects/input.js | JavaScript | (function () {
return t;
})()
? console.log(true)
: console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_side_effects/output.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_side_effects/output.mangleOnly.js | JavaScript | (function() {
return t;
})() ? console.log(true) : console.log(false);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_3_side_effects/output.terser.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_4/input.js | JavaScript | (function () {
return t;
})()
? console.log(true)
: console.log(false);
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_4/output.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_4/output.mangleOnly.js | JavaScript | (function() {
return t;
})() ? console.log(true) : console.log(false);
(function() {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_4/output.terser.js | JavaScript | !(function () {
return t;
})()
? console.log(false)
: console.log(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5/input.js | JavaScript | if (
(function () {
return t;
})()
) {
foo(true);
} else {
bar(false);
}
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5/output.js | JavaScript | !(function () {
return t;
})()
? bar(false)
: foo(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5/output.mangleOnly.js | JavaScript | if ((function() {
return t;
})()) {
foo(true);
} else {
bar(false);
}
(function() {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5/output.terser.js | JavaScript | !(function () {
return t;
})()
? bar(false)
: foo(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5_off/input.js | JavaScript | if (
(function () {
return t;
})()
) {
foo(true);
} else {
bar(false);
}
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5_off/output.js | JavaScript | !(function () {
return t;
})()
? bar(false)
: foo(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5_off/output.mangleOnly.js | JavaScript | if ((function() {
return t;
})()) {
foo(true);
} else {
bar(false);
}
(function() {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_5_off/output.terser.js | JavaScript | !(function () {
return t;
})()
? bar(false)
: foo(true),
(function () {
console.log("something");
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_issue_1073/input.js | JavaScript | new ((function (a) {
return function Foo() {
this.x = a;
console.log(this);
};
})(7))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_issue_1073/output.js | JavaScript | new ((function (a) {
return function Foo() {
(this.x = a), console.log(this);
};
})(7))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_issue_1073/output.mangleOnly.js | JavaScript | new ((function(n) {
return function o() {
this.x = n;
console.log(this);
};
})(7))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_issue_1073/output.terser.js | JavaScript | new ((function (a) {
return function Foo() {
(this.x = a), console.log(this);
};
})(7))();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested/input.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
(function (x) {
(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested/output.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
!(function (x) {
!(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested/output.mangleOnly.js | JavaScript | function n(n) {
this.f = n;
}
new n(function() {
(function(n) {
(function(n) {
console.log(n);
})(n);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested/output.terser.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
!(function (x) {
!(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested_off/input.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
(function (x) {
(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested_off/output.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
(function (x) {
(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested_off/output.mangleOnly.js | JavaScript | function n(n) {
this.f = n;
}
new n(function() {
(function(n) {
(function(n) {
console.log(n);
})(n);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/negate_iife_nested_off/output.terser.js | JavaScript | function Foo(f) {
this.f = f;
}
new Foo(function () {
(function (x) {
(function (y) {
console.log(y);
})(x);
})(7);
}).f();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/sequence_off/input.js | JavaScript | function f() {
(function () {
return t;
})()
? console.log(true)
: console.log(false);
(function () {
console.log("something");
})();
}
function g() {
(function () {
console.log("something");
})();
(function () {
return t;
})()
? console.log(true)
: console.log(false);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/sequence_off/output.js | JavaScript | function f() {
!(function () {
return t;
})()
? console.log(false)
: console.log(true),
(function () {
console.log("something");
})();
}
function g() {
(function () {
console.log("something");
})(),
(function () {
return t;
})()
? console.log(true)
: console.log(false);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/sequence_off/output.mangleOnly.js | JavaScript | function o() {
(function() {
return t;
})() ? console.log(true) : console.log(false);
(function() {
console.log("something");
})();
}
function n() {
(function() {
console.log("something");
})();
(function() {
return t;
})() ? console.log(true) : console.log(false);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/negate_iife/sequence_off/output.terser.js | JavaScript | function f() {
!(function () {
return t;
})()
? console.log(false)
: console.log(true),
(function () {
console.log("something");
})();
}
function g() {
(function () {
console.log("something");
})(),
(function () {
return t;
})()
? console.log(true)
: console.log(false);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/call_with_unary_arguments/input.js | JavaScript | x();
x(-1);
x(-1, -2);
x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
(-1)();
(-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/call_with_unary_arguments/output.js | JavaScript | x();
x(-1);
x(-1, -2);
x(void 0, 2, -3, -5, !5, --a, ++b, c--, d++, typeof e, delete f);
(-1)();
(-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/call_with_unary_arguments/output.mangleOnly.js | JavaScript | x();
x(-1);
x(-1, -2);
x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
(-1)();
(-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/call_with_unary_arguments/output.terser.js | JavaScript | x();
x(-1);
x(-1, -2);
x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
(-1)();
(-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_1/input.js | JavaScript | console.log(new (Math.random().constructor)() instanceof Number);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_1/output.js | JavaScript | console.log(new (Math.random().constructor)() instanceof Number);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_1/output.mangleOnly.js | JavaScript | console.log(new (Math.random().constructor)() instanceof Number);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_1/output.terser.js | JavaScript | console.log(new (Math.random().constructor)() instanceof Number);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_2/input.js | JavaScript | console.log(
typeof new function () {
Math.random();
}.constructor()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_2/output.js | JavaScript | console.log(typeof new (function() {}).constructor());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_2/output.mangleOnly.js | JavaScript | console.log(typeof new function() {
Math.random();
}.constructor());
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/dot_parenthesis_2/output.terser.js | JavaScript | console.log(
typeof new function () {
Math.random();
}.constructor()
);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_constructor_with_unary_arguments/input.js | JavaScript | new x();
new x(-1);
new x(-1, -2);
new x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
new (-1)();
new (-1)();
new (-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_constructor_with_unary_arguments/output.js | JavaScript | new x();
new x(-1);
new x(-1, -2);
new x(void 0, 2, -3, -5, !5, --a, ++b, c--, d++, typeof e, delete f);
new (-1)();
new (-1)();
new (-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_constructor_with_unary_arguments/output.mangleOnly.js | JavaScript | new x();
new x(-1);
new x(-1, -2);
new x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
new (-1)();
new (-1)();
new (-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_constructor_with_unary_arguments/output.terser.js | JavaScript | new x();
new x(-1);
new x(-1, -2);
new x(void 1, +2, -3, ~4, !5, --a, ++b, c--, d++, typeof e, delete f);
new (-1)();
new (-1)();
new (-1)(-2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statement/input.js | JavaScript | new x(1);
new x(1)(2);
new x(1)(2)(3);
new new x(1)();
new new x(1)(2);
new new x(1)(2);
new new x(1)()(2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statement/output.js | JavaScript | new x(1);
new x(1)(2);
new x(1)(2)(3);
new new x(1)();
new new x(1)(2);
new new x(1)(2);
new new x(1)()(2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statement/output.mangleOnly.js | JavaScript | new x(1);
new x(1)(2);
new x(1)(2)(3);
new new x(1)();
new new x(1)(2);
new new x(1)(2);
new new x(1)()(2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statement/output.terser.js | JavaScript | new x(1);
new x(1)(2);
new x(1)(2)(3);
new new x(1)();
new new x(1)(2);
new new x(1)(2);
new new x(1)()(2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_2/input.js | JavaScript | new x();
new new x()();
new new new x()()();
new true();
new 0();
new (!0)();
new (bar = function (foo) {
this.foo = foo;
})(123);
new (bar = function (foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_2/output.js | JavaScript | new x();
new new x()();
new new new x()()();
new true();
new 0();
new (!0)();
new (bar = function (foo) {
this.foo = foo;
})(123);
new (bar = function (foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_2/output.mangleOnly.js | JavaScript | new x();
new new x()();
new new new x()()();
new true();
new 0();
new (!0)();
new (bar = function(n) {
this.foo = n;
})(123);
new (bar = function(n) {
this.foo = n;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_2/output.terser.js | JavaScript | new x();
new new x()();
new new new x()()();
new true();
new 0();
new (!0)();
new (bar = function (foo) {
this.foo = foo;
})(123);
new (bar = function (foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_3/input.js | JavaScript | new (function (foo) {
this.foo = foo;
})(1);
new (function (foo) {
this.foo = foo;
})();
new (function test(foo) {
this.foo = foo;
})(1);
new (function test(foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_3/output.js | JavaScript | new (function (foo) {
this.foo = foo;
})(1);
new (function (foo) {
this.foo = foo;
})();
new (function test(foo) {
this.foo = foo;
})(1);
new (function test(foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_3/output.mangleOnly.js | JavaScript | new (function(n) {
this.foo = n;
})(1);
new (function(n) {
this.foo = n;
})();
new (function n(n) {
this.foo = n;
})(1);
new (function n(n) {
this.foo = n;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_statements_3/output.terser.js | JavaScript | new (function (foo) {
this.foo = foo;
})(1);
new (function (foo) {
this.foo = foo;
})();
new (function test(foo) {
this.foo = foo;
})(1);
new (function test(foo) {
this.foo = foo;
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_assignement_expression/input.js | JavaScript | var a;
new x((a = 5 * 2), (b = [1, 2, 3]), (c = { a: "a", b: "b", cd: "c" + "d" }));
new y(([a, b] = [3, 4]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_assignement_expression/output.js | JavaScript | var a;
new x((a = 10), (b = [1, 2, 3]), (c = { a: "a", b: "b", cd: "cd" }));
new y(([a, b] = [3, 4]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_assignement_expression/output.mangleOnly.js | JavaScript | var a;
new x((a = 5 * 2), (b = [
1,
2,
3
]), (c = {
a: "a",
b: "b",
cd: "c" + "d"
}));
new y(([a, b] = [
3,
4
]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_assignement_expression/output.terser.js | JavaScript | var a;
new x((a = 10), (b = [1, 2, 3]), (c = { a: "a", b: "b", cd: "cd" }));
new y(([a, b] = [3, 4]));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_many_parameters/input.js | JavaScript | new foo.bar("baz");
new x(/123/, 456);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_many_parameters/output.js | JavaScript | new foo.bar("baz");
new x(/123/, 456);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_many_parameters/output.mangleOnly.js | JavaScript | new foo.bar("baz");
new x(/123/, 456);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_many_parameters/output.terser.js | JavaScript | new foo.bar("baz");
new x(/123/, 456);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_rewritten_true_value/input.js | JavaScript | new true();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_rewritten_true_value/output.js | JavaScript | new (!0)();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_rewritten_true_value/output.mangleOnly.js | JavaScript | new true();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_rewritten_true_value/output.terser.js | JavaScript | new (!0)();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_unary_prefix/input.js | JavaScript | var bar = (+new Date()).toString(32);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_unary_prefix/output.js | JavaScript | var bar = (+new Date()).toString(32);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_unary_prefix/output.mangleOnly.js | JavaScript | var t = (+new Date()).toString(32);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/new/new_with_unary_prefix/output.terser.js | JavaScript | var bar = (+new Date()).toString(32);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/node_version/eval_let_6/input.js | JavaScript | eval("let a;");
console.log();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/node_version/eval_let_6/output.js | JavaScript | eval("let a;");
console.log();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/node_version/eval_let_6/output.mangleOnly.js | JavaScript | eval("let a;");
console.log();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/node_version/eval_let_6/output.terser.js | JavaScript | eval("let a;");
console.log();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing/input.js | JavaScript | const foo = id("something");
leak(foo == null ? bar : foo);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing/output.js | JavaScript | const foo = id("something");
leak(foo ?? bar);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing/output.mangleOnly.js | JavaScript | const l = id("something");
leak(l == null ? bar : l);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing/output.terser.js | JavaScript | const foo = id("something");
leak(foo ?? bar);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing_2/input.js | JavaScript | const foo = id("something");
console.log("negative cases");
foo === null || foo === null ? bar : foo;
foo === undefined || foo === undefined ? bar : foo;
foo === null || foo === undefined ? foo : bar;
some_global === null || some_global === undefined ? bar : some_global;
console.log("positive cases");
foo === null || foo === void 0 ? bar : foo;
foo === null || foo === undefined ? bar : foo;
foo === undefined || foo === null ? bar : foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing_2/output.js | JavaScript | const foo = id("something");
console.log("negative cases");
null === foo || null === foo ? bar : foo;
void 0 === foo || void 0 === foo ? bar : foo;
null === foo || void 0 === foo ? foo : bar;
null === some_global || void 0 === some_global ? bar : some_global;
console.log("positive cases");
foo ?? bar;
foo ?? bar;
foo ?? bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing_2/output.mangleOnly.js | JavaScript | const l = id("something");
console.log("negative cases");
l === null || l === null ? bar : l;
l === undefined || l === undefined ? bar : l;
l === null || l === undefined ? l : bar;
some_global === null || some_global === undefined ? bar : some_global;
console.log("positive cases");
l === null || l === void 0 ? bar : l;
l === null || l === undefined ? bar : l;
l === undefined || l === null ? bar : l;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/conditional_to_nullish_coalescing_2/output.terser.js | JavaScript | const foo = id("something");
console.log("negative cases");
null === foo || null === foo ? bar : foo;
void 0 === foo || void 0 === foo ? bar : foo;
null === foo || void 0 === foo ? foo : bar;
null === some_global || void 0 === some_global ? bar : some_global;
console.log("positive cases");
foo ?? bar;
foo ?? bar;
foo ?? bar;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/nullish_coalescing_boolean_context/input.js | JavaScript | if (null ?? unknown) {
pass();
}
if (unknown ?? false) {
pass();
}
if (4 + 4 ?? unknown) {
pass();
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_minifier/tests/terser/compress/nullish/nullish_coalescing_boolean_context/output.js | JavaScript | unknown && pass();
unknown && pass();
pass();
| 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.