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/defaults/defaults_false/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false/output.js
JavaScript
if (true) console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false/output.terser.js
JavaScript
if (true) console.log(1 + 2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false_evaluate_true/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false_evaluate_true/output.js
JavaScript
if (true) console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false_evaluate_true/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_false_evaluate_true/output.terser.js
JavaScript
if (true) console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true/output.js
JavaScript
console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true/output.terser.js
JavaScript
console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_conditionals_false/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_conditionals_false/output.js
JavaScript
console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_conditionals_false/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_conditionals_false/output.terser.js
JavaScript
if (1) console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_evaluate_false/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_evaluate_false/output.js
JavaScript
console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_evaluate_false/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_true_evaluate_false/output.terser.js
JavaScript
1 && console.log(1 + 2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_undefined/input.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_undefined/output.js
JavaScript
if (true) console.log(3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_undefined/output.mangleOnly.js
JavaScript
if (true) { console.log(1 + 2); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/defaults/defaults_undefined/output.terser.js
JavaScript
if (true) console.log(1 + 2);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/anon_func_with_destructuring_args/input.js
JavaScript
(function ({ foo: foo = 1 + 0, bar: bar = 2 }, [car = 3, far = 4]) { console.log(foo, bar, car, far); })({ bar: 5 - 0 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/anon_func_with_destructuring_args/output.js
JavaScript
(function ({ foo: o = 1, bar: n = 2 }, [a = 3, b = 4]) { console.log(o, n, a, b); })({ bar: 5 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/anon_func_with_destructuring_args/output.mangleOnly.js
JavaScript
(function({ foo: o = 1 + 0 , bar: n = 2 }, [a = 3, b = 4]) { console.log(o, n, a, b); })({ bar: 5 - 0 }, [ , 6 ]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/anon_func_with_destructuring_args/output.terser.js
JavaScript
(function ({ foo: o = 1, bar: n = 2 }, [a = 3, b = 4]) { console.log(o, n, a, b); })({ bar: 5 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/arrow_func_with_destructuring_args/input.js
JavaScript
(({ foo: foo = 1 + 0, bar: bar = 2 }, [car = 3, far = 4]) => { console.log(foo, bar, car, far); })({ bar: 5 - 0 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/arrow_func_with_destructuring_args/output.js
JavaScript
(({ foo: o = 1, bar: a = 2 }, [b = 3, l = 4]) => { console.log(o, a, b, l); })({ bar: 5 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/arrow_func_with_destructuring_args/output.mangleOnly.js
JavaScript
(({ foo: o = 1 + 0 , bar: a = 2 }, [b = 3, l = 4])=>{ console.log(o, a, b, l); })({ bar: 5 - 0 }, [ , 6 ]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/arrow_func_with_destructuring_args/output.terser.js
JavaScript
(({ foo: o = 1, bar: a = 2 }, [b = 3, l = 4]) => { console.log(o, a, b, l); })({ bar: 5 }, [, 6]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_1/input.js
JavaScript
let {} = Object, [] = {}, unused = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_1/output.js
JavaScript
let {} = Object, [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_1/output.mangleOnly.js
JavaScript
let {} = Object, [] = {}, e = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_1/output.terser.js
JavaScript
let {} = Object, [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_2/input.js
JavaScript
let {} = Object, [] = {}, unused = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_2/output.js
JavaScript
let {} = Object, [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_2/output.mangleOnly.js
JavaScript
let {} = Object, [] = {}, e = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_2/output.terser.js
JavaScript
let {} = Object, [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_3/input.js
JavaScript
let {} = Object, [] = {}, unused = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_3/output.js
JavaScript
let [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_3/output.mangleOnly.js
JavaScript
let {} = Object, [] = {}, e = console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructure_empty_array_3/output.terser.js
JavaScript
let [] = {}; console.log("not reached");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays/input.js
JavaScript
{ const [aa, bb] = cc; } { const [aa, [bb, cc]] = dd; } { let [aa, bb] = cc; } { let [aa, [bb, cc]] = dd; } var [aa, bb] = cc; var [aa, [bb, cc]] = dd; var [, [, , , , ,], , , zz] = xx; var [, , zzz, ,] = xxx;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays/output.js
JavaScript
{ const [aa, bb] = cc; } { const [aa, [bb, cc]] = dd; } { let [aa, bb] = cc; } { let [aa, [bb, cc]] = dd; } var [aa, bb] = cc; var [aa, [bb, cc]] = dd; var [, [, , , , ,], , , zz] = xx; var [, , zzz, ,] = xxx;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays/output.mangleOnly.js
JavaScript
{ const [d, x] = a; }{ const [d, [x, a]] = dd; }{ let [d, x] = a; }{ let [d, [x, a]] = dd; }var [d, x] = a; var [d, [x, a]] = dd; var [, [, , , , , ], , , r] = xx; var [, , t, , ] = xxx;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays/output.terser.js
JavaScript
{ const [aa, bb] = cc; } { const [aa, [bb, cc]] = dd; } { let [aa, bb] = cc; } { let [aa, [bb, cc]] = dd; } var [aa, bb] = cc; var [aa, [bb, cc]] = dd; var [, [, , , , ,], , , zz] = xx; var [, , zzz, ,] = xxx;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays_holes/input.js
JavaScript
var [, , , ,] = a; var [, , b] = c; var [d, ,] = e;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays_holes/output.js
JavaScript
var [, , , ,] = a; var [, , b] = c; var [d, ,] = e;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays_holes/output.mangleOnly.js
JavaScript
var [, , , , ] = a; var [, , r] = c; var [v, , ] = e;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_arrays_holes/output.terser.js
JavaScript
var [, , , ,] = a; var [, , b] = c; var [d, ,] = e;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_computed_key/input.js
JavaScript
let x; let four = 4; ({ [5 + 2 - four]: x } = { [1 + 2]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_computed_key/output.js
JavaScript
let x; let four = 4; ({ [7 - four]: x } = { [3]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_computed_key/output.mangleOnly.js
JavaScript
let l; let e = 4; ({ [5 + 2 - e]: l } = { [1 + 2]: 42 }); console.log(l);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_computed_key/output.terser.js
JavaScript
let x; let four = 4; ({ [7 - four]: x } = { [3]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_numeric_key/input.js
JavaScript
let x; ({ 3: x } = { [1 + 2]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_numeric_key/output.js
JavaScript
let x; ({ 3: x } = { [3]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_numeric_key/output.mangleOnly.js
JavaScript
let l; ({ 3: l } = { [1 + 2]: 42 }); console.log(l);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_assign_of_numeric_key/output.terser.js
JavaScript
let x; ({ 3: x } = { [3]: 42 }); console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_constdef_in_loops/input.js
JavaScript
for (const [x, y] in pairs); for (const [a] = 0; ; ); for (const { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_constdef_in_loops/output.js
JavaScript
for (const [x, y] in pairs); for (const [a] = 0; ; ); for (const { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_constdef_in_loops/output.mangleOnly.js
JavaScript
for(const [o, s] in pairs); for(const [o] = 0;;); for (const { c: o } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_constdef_in_loops/output.terser.js
JavaScript
for (const [x, y] in pairs); for (const [a] = 0; ; ); for (const { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_computed_key/input.js
JavaScript
let four = 4; let { [7 - four]: x } = { [1 + 2]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_computed_key/output.js
JavaScript
let four = 4; let { [7 - four]: x } = { [3]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_computed_key/output.mangleOnly.js
JavaScript
let l = 4; let { [7 - l]: e } = { [1 + 2]: 42 }; console.log(e);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_computed_key/output.terser.js
JavaScript
let four = 4; let { [7 - four]: x } = { [3]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_numeric_key/input.js
JavaScript
let { 3: x } = { [1 + 2]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_numeric_key/output.js
JavaScript
let { 3: x } = { [3]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_numeric_key/output.mangleOnly.js
JavaScript
let { 3: l } = { [1 + 2]: 42 }; console.log(l);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_decl_of_numeric_key/output.terser.js
JavaScript
let { 3: x } = { [3]: 42 }; console.log(x);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_dont_evaluate_with_undefined_as_default_assignment/input.js
JavaScript
[foo = undefined] = bar;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_dont_evaluate_with_undefined_as_default_assignment/output.js
JavaScript
[foo = void 0] = bar;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_dont_evaluate_with_undefined_as_default_assignment/output.mangleOnly.js
JavaScript
[foo = undefined] = bar;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_dont_evaluate_with_undefined_as_default_assignment/output.terser.js
JavaScript
[foo = void 0] = bar;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_expressions/input.js
JavaScript
({ a, b }); [{ a }]; f({ x });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_expressions/output.js
JavaScript
({ a, b }); [{ a }]; f({ x });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_expressions/output.mangleOnly.js
JavaScript
({ a, b }); [ { a } ]; f({ x });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_expressions/output.terser.js
JavaScript
({ a, b }); [{ a }]; f({ x });
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_letdef_in_loops/input.js
JavaScript
for (let [x, y] in pairs); for (let [a] = 0; ; ); for (let { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_letdef_in_loops/output.js
JavaScript
for (let [x, y] in pairs); for (let [a] = 0; ; ); for (let { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_letdef_in_loops/output.mangleOnly.js
JavaScript
for(let [e, f] in pairs); for(let [e] = 0;;); for (let { c: e } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_letdef_in_loops/output.terser.js
JavaScript
for (let [x, y] in pairs); for (let [a] = 0; ; ); for (let { c } of cees);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects/input.js
JavaScript
{ const { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { const { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } { let { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { let { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } var { aa: aa, bb: bb } = { aa: 1, bb: 2 }; var { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects/output.js
JavaScript
{ const { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { const { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } { let { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { let { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } var { aa: aa, bb: bb } = { aa: 1, bb: 2 }; var { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects/output.mangleOnly.js
JavaScript
{ const { aa: a , bb: b } = { aa: 1, bb: 2 }; }{ const { aa: a , bb: { cc: b , dd: c } } = { aa: 1, bb: { cc: 2, dd: 3 } }; }{ let { aa: a , bb: b } = { aa: 1, bb: 2 }; }{ let { aa: a , bb: { cc: b , dd: c } } = { aa: 1, bb: { cc: 2, dd: 3 } }; }var { aa: a , bb: b } = { aa: 1, bb: 2 }; var { aa: a , bb: { cc: c , dd: d } } = { aa: 1, bb: { cc: 2, dd: 3 } };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects/output.terser.js
JavaScript
{ const { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { const { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } { let { aa: aa, bb: bb } = { aa: 1, bb: 2 }; } { let { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } }; } var { aa: aa, bb: bb } = { aa: 1, bb: 2 }; var { aa: aa, bb: { cc: cc, dd: dd }, } = { aa: 1, bb: { cc: 2, dd: 3 } };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects_trailing_elision/input.js
JavaScript
var { cc } = foo;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects_trailing_elision/output.js
JavaScript
var { cc } = foo;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects_trailing_elision/output.mangleOnly.js
JavaScript
var { cc: o } = foo;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_objects_trailing_elision/output.terser.js
JavaScript
var { cc } = foo;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_1/input.js
JavaScript
function a() { var unused = "foo"; var a = [1]; var [b] = a; f(b); } function b() { var unused = "foo"; var a = { b: 1 }; var { b: b } = a; f(b); } function c() { var unused = "foo"; var a = [[1]]; var [[b]] = a; f(b); } function d() { var unused = "foo"; var a = { b: { b: 1 } }; var { b: { b: b }, } = a; f(b); } function e() { var unused = "foo"; var a = [1, 2, 3, 4, 5]; var x = [[1, 2, 3]]; var y = { h: 1 }; var [b, ...c] = a; var [...[e, f]] = x; var [...{ g: h }] = y; f(b, c, e, f, g); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_1/output.js
JavaScript
function a() { var a = [ 1 ]; var [b] = a; f(b); } function b() { var a = { b: 1 }; var { b: b } = a; f(b); } function c() { var a = [ [ 1 ] ]; var [[b]] = a; f(b); } function d() { var a = { b: { b: 1 } }; var { b: { b: b } } = a; f(b); } function e() { var a = [ 1, 2, 3, 4, 5 ]; var x = [ [ 1, 2, 3 ] ]; var y = { h: 1 }; var [b, ...c] = a; var [...[e, f1]] = x; var [...{ g: h }] = y; f1(b, c, e, f1, g); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_1/output.mangleOnly.js
JavaScript
function a() { var a = "foo"; var r = [ 1 ]; var [v] = r; f(v); } function r() { var a = "foo"; var r = { b: 1 }; var { b: v } = r; f(v); } function v() { var a = "foo"; var r = [ [ 1 ] ]; var [[v]] = r; f(v); } function o() { var a = "foo"; var r = { b: { b: 1 } }; var { b: { b: v } , } = r; f(v); } function n() { var a = "foo"; var r = [ 1, 2, 3, 4, 5 ]; var v = [ [ 1, 2, 3 ] ]; var o = { h: 1 }; var [n, ...b] = r; var [...[c, i]] = v; var [...{ g: t }] = o; i(n, b, c, i, g); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_1/output.terser.js
JavaScript
function a() { var a = [1]; var [b] = a; f(b); } function b() { var a = { b: 1 }; var { b: b } = a; f(b); } function c() { var a = [[1]]; var [[b]] = a; f(b); } function d() { var a = { b: { b: 1 } }; var { b: { b: b }, } = a; f(b); } function e() { var a = [1, 2, 3, 4, 5]; var x = [[1, 2, 3]]; var y = { h: 1 }; var [b, ...c] = a; var [...[e, f]] = x; var [...{ g: h }] = y; f(b, c, e, f, g); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_2/input.js
JavaScript
function a() { var unused = "foo"; var a = [, , 1]; var [b] = a; f(b); } function b() { var unused = "foo"; var a = [{ a: [1] }]; var [{ b: a }] = a; f(b); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_2/output.js
JavaScript
function a() { var a = [ , , 1 ]; var [b] = a; f(b); } function b() { var a = [ { a: [ 1 ] } ]; var [{ b: a }] = a; f(b); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_2/output.mangleOnly.js
JavaScript
function a() { var a = "foo"; var o = [ , , 1 ]; var [r] = o; f(r); } function o() { var a = "foo"; var r = [ { a: [ 1 ] } ]; var [{ b: r }] = r; f(o); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/destructuring/destructuring_remove_unused_2/output.terser.js
JavaScript
function a() { var a = [, , 1]; var [b] = a; f(b); } function b() { var a = [{ a: [1] }]; var [{ b: a }] = a; f(b); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University