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/template_string/template_strings_without_ascii_only/input.js
JavaScript
var foo = `foo\n bar\n ↂωↂ`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_strings_without_ascii_only/output.js
JavaScript
var foo = `foo\n bar\n ↂωↂ`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_strings_without_ascii_only/output.mangleOnly.js
JavaScript
var a = `foo\n bar\n ↂωↂ`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_strings_without_ascii_only/output.terser.js
JavaScript
var foo = `foo\n bar\n ↂωↂ`;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_with_newline/input.js
JavaScript
function foo(e) { return `yep,\nthis is a template string!`; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_with_newline/output.js
JavaScript
function foo(e) { return `yep,\nthis is a template string!`; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_with_newline/output.mangleOnly.js
JavaScript
function t(t) { return `yep,\nthis is a template string!`; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/template_string/template_with_newline/output.terser.js
JavaScript
function foo(e) { return `yep,\nthis is a template string!`; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_evaluate/input.js
JavaScript
console.log(typeof void 0 != "undefined"); console.log(1 == 1, 1 === 1); console.log(1 != 1, 1 !== 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_evaluate/output.js
JavaScript
console.log(!1); console.log(!0, !0); console.log(!1, !1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_evaluate/output.mangleOnly.js
JavaScript
console.log(typeof void 0 != "undefined"); console.log(1 == 1, 1 === 1); console.log(1 != 1, 1 !== 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_evaluate/output.terser.js
JavaScript
console.log(!1); console.log(!0, !0); console.log(!1, !1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_global_defs/input.js
JavaScript
console.log(A == 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_global_defs/output.js
JavaScript
console.log(!0);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_global_defs/output.mangleOnly.js
JavaScript
console.log(A == 1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/booleans_global_defs/output.terser.js
JavaScript
console.log(!0);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/condition_evaluate/input.js
JavaScript
while (1 === 2); for (; 1 == true; ); if (void 0 == null);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/condition_evaluate/output.js
JavaScript
while (0); for (; 1; ); if (1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/condition_evaluate/output.mangleOnly.js
JavaScript
while(1 === 2); for(; 1 == true;); if (void 0 == null) ;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/condition_evaluate/output.terser.js
JavaScript
while (0); for (; 1; ); if (1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_else_empty/input.js
JavaScript
if ({} ? a : b); else { }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_else_empty/output.js
JavaScript
a;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_else_empty/output.mangleOnly.js
JavaScript
if ({} ? a : b) ; else {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_else_empty/output.terser.js
JavaScript
!{} ? b : a;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_return/input.js
JavaScript
function f(w, x, y, z) { if (x) return; if (w) { if (y) return; } else if (z) return; if (x == y) return true; if (x) w(); if (y) z(); return true; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_return/output.js
JavaScript
function f(w, x, y, z) { if (!x) { if (w) { if (y) return; } else if (z) return; return x == y || (x && w(), y && z()), !0; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_return/output.mangleOnly.js
JavaScript
function r(r, e, f, i) { if (e) return; if (r) { if (f) return; } else if (i) return; if (e == f) return true; if (e) r(); if (f) i(); return true; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/if_return/output.terser.js
JavaScript
function f(w, x, y, z) { if (!x) { if (w) { if (y) return; } else if (z) return; return x == y || (x && w(), y && z()), !0; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/label_if_break/input.js
JavaScript
L: if (true) { a; break L; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/label_if_break/output.mangleOnly.js
JavaScript
a: if (true) { a; break a; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/label_if_break/output.terser.js
JavaScript
a;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/while_if_break/input.js
JavaScript
while (a) { if (b) if (c) d; if (e) break; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/while_if_break/output.js
JavaScript
for (; a && (b && c && d, !e); );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/while_if_break/output.mangleOnly.js
JavaScript
while(a){ if (b) if (c) d; if (e) break; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/transform/while_if_break/output.terser.js
JavaScript
for (; a && (b && c && d, !e); );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope/input.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(x) { try { throw { m: "PASS" }; } catch ({ m: s }) { console.log(s); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope/output.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new class { f(A) { try { throw { m: "PASS" }; } catch ({ m: A }) { console.log(A); } } }().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope/output.mangleOnly.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(A) { try { throw { m: "PASS" }; } catch ({ m: A }) { console.log(A); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope/output.terser.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(A) { try { throw { m: "PASS" }; } catch ({ m: B }) { console.log(B); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope_caveat/input.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(x) { try { throw { m: "PASS" }; } catch ({ m: x }) { console.log(x); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope_caveat/output.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new class { f(A) { try { throw { m: "PASS" }; } catch ({ m: A }) { console.log(A); } } }().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope_caveat/output.mangleOnly.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(A) { try { throw { m: "PASS" }; } catch ({ m: A }) { console.log(A); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/broken_safari_catch_scope_caveat/output.terser.js
JavaScript
"AAAAAAAA"; "BBBBBBB"; new (class { f(A) { try { throw { m: "PASS" }; } catch ({ m: A }) { console.log(A); } } })().f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/catch_destructuring_with_sequence/input.js
JavaScript
try { throw {}; } catch ({ xCover = (0, function () {}) }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/catch_destructuring_with_sequence/output.js
JavaScript
try { throw {}; } catch ({ xCover =function() {} }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/catch_destructuring_with_sequence/output.mangleOnly.js
JavaScript
try { throw {}; } catch ({ xCover: t = (0, function() {}) }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/catch_destructuring_with_sequence/output.terser.js
JavaScript
try { throw {}; } catch ({ xCover = (0, function () {}) }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/issue_452/input.js
JavaScript
try { const arr = ["PASS"]; for (const x of arr) { console.log(x); } } catch (e) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/issue_452/output.mangleOnly.js
JavaScript
try { const o = [ "PASS" ]; for (const c of o){ console.log(c); } } catch (o) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parameterless_catch/input.js
JavaScript
try { unknown(); } catch { console.log("PASS"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parameterless_catch/output.js
JavaScript
try { unknown(); } catch { console.log("PASS"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parameterless_catch/output.mangleOnly.js
JavaScript
try { unknown(); } catch { console.log("PASS"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parameterless_catch/output.terser.js
JavaScript
try { unknown(); } catch { console.log("PASS"); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parent_scope_of_catch_block_is_not_the_try_block/input.js
JavaScript
function test(foo, bar) { try { const bar = {}; throw "PASS"; } catch (error) { return bar(error); } } console.log(test(null, (x) => x));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/try_catch/parent_scope_of_catch_block_is_not_the_try_block/output.mangleOnly.js
JavaScript
function n(n, o) { try { const n = {}; throw "PASS"; } catch (n) { return o(n); } } console.log(n(null, (n)=>n));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_defun_arg_name/input.js
JavaScript
function long_name(long_name) { return typeof long_name; } console.log(typeof long_name, long_name());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_defun_arg_name/output.js
JavaScript
function long_name(long_name) { return typeof long_name; } console.log("function", long_name());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_defun_arg_name/output.mangleOnly.js
JavaScript
function o(o) { return typeof o; } console.log(typeof o, o());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_defun_arg_name/output.terser.js
JavaScript
function long_name(long_name) { return typeof long_name; } console.log(typeof long_name, long_name());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_lambda_arg_name/input.js
JavaScript
console.log( (function long_name(long_name) { return typeof long_name; })() );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_lambda_arg_name/output.js
JavaScript
console.log(function long_name(long_name) { return "undefined"; }());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_lambda_arg_name/output.mangleOnly.js
JavaScript
console.log((function o(o) { return typeof o; })());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/duplicate_lambda_arg_name/output.terser.js
JavaScript
console.log( (function long_name(long_name) { return typeof long_name; })() );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_1668/input.js
JavaScript
if (typeof bar);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_1668/output.js
JavaScript
if (1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_1668/output.mangleOnly.js
JavaScript
if (typeof bar) ;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_1668/output.terser.js
JavaScript
if (1);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_1/input.js
JavaScript
(function arguments() { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_1/output.js
JavaScript
(function arguments() { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_1/output.mangleOnly.js
JavaScript
(function arguments() { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_1/output.terser.js
JavaScript
(function arguments() { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_2/input.js
JavaScript
function arguments() { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_2/output.js
JavaScript
function arguments() { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_2/output.mangleOnly.js
JavaScript
function arguments() { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_2/output.terser.js
JavaScript
function arguments() { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_3/input.js
JavaScript
(function () { function arguments() {} console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_3/output.js
JavaScript
(function() { console.log("function"); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_3/output.mangleOnly.js
JavaScript
(function() { function arguments() {} console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_3/output.terser.js
JavaScript
(function () { function arguments() {} console.log("function"); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_4/input.js
JavaScript
function arguments() {} console.log(typeof arguments);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_4/output.js
JavaScript
console.log("function");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_4/output.mangleOnly.js
JavaScript
function arguments() {} console.log(typeof arguments);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_4/output.terser.js
JavaScript
function arguments() {} console.log("function");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_5/input.js
JavaScript
(function arguments(arguments) { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_5/output.js
JavaScript
(function arguments(arguments) { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_5/output.mangleOnly.js
JavaScript
(function arguments(arguments) { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_5/output.terser.js
JavaScript
(function arguments(arguments) { console.log(typeof arguments); })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_6/input.js
JavaScript
function arguments(arguments) { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_6/output.js
JavaScript
function arguments(arguments) { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_6/output.mangleOnly.js
JavaScript
function arguments(arguments) { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/issue_2728_6/output.terser.js
JavaScript
function arguments(arguments) { return typeof arguments; } console.log(typeof arguments, arguments());
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_1/input.js
JavaScript
function f() { console.log("YES"); } function g() { h = 42; console.log("NOPE"); } function h() { console.log("YUP"); } g = 42; "function" == typeof f && f(); "function" == typeof g && g(); "function" == typeof h && h();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_1/output.js
JavaScript
function h() { console.log("YUP"); } console.log("YES"); h();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_1/output.mangleOnly.js
JavaScript
function o() { console.log("YES"); } function n() { c = 42; console.log("NOPE"); } function c() { console.log("YUP"); } n = 42; "function" == typeof o && o(); "function" == typeof n && n(); "function" == typeof c && c();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_1/output.terser.js
JavaScript
function h() { console.log("YUP"); } console.log("YES"); h();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_2/input.js
JavaScript
var f = function () { console.log(x); }; var x = 0; x++ < 2 && typeof f == "function" && f(); x++ < 2 && typeof f == "function" && f(); x++ < 2 && typeof f == "function" && f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_2/output.js
JavaScript
var f = function () { console.log(x); }; var x = 0; x++ < 2 && f(); x++ < 2 && f(); x++ < 2 && f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_2/output.mangleOnly.js
JavaScript
var o = function() { console.log(n); }; var n = 0; n++ < 2 && typeof o == "function" && o(); n++ < 2 && typeof o == "function" && o(); n++ < 2 && typeof o == "function" && o();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_defun_2/output.terser.js
JavaScript
var f = function () { console.log(x); }; var x = 0; x++ < 2 && f(); x++ < 2 && f(); x++ < 2 && f();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/typeof/typeof_evaluation/input.js
JavaScript
a = typeof 1; b = typeof "test"; c = typeof []; d = typeof {}; e = typeof /./; f = typeof false; g = typeof function () {}; h = typeof undefined;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University