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/object/property_with_unprintable/input.js
JavaScript
var foo = { "\0": "foo", get "\0"() { return "bar"; }, set "\0"(foo) { save(foo); }, *"\0"() { return "foobar"; }, }; class bar { get "\0"() { return "bar"; } set "\0"(foo) { save(foo); } *"\0"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable/output.js
JavaScript
var foo1 = { "\0": "foo", get "\0" () { return "bar"; }, set "\0" (foo){ save(foo); }, *"\0" () { return "foobar"; } }; class bar { get "\0"() { return "bar"; } set "\0"(foo1) { save(foo1); } *"\0"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable/output.mangleOnly.js
JavaScript
var r = { "\0": "foo", get "\0" () { return "bar"; }, set "\0" (foo){ save(foo); }, *"\0" () { return "foobar"; } }; class e { get "\0"() { return "bar"; } set "\0"(r) { save(r); } *"\0"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable/output.terser.js
JavaScript
var foo = { "\0": "foo", get "\0"() { return "bar"; }, set "\0"(foo) { save(foo); }, *"\0"() { return "foobar"; }, }; class bar { get "\0"() { return "bar"; } set "\0"(foo) { save(foo); } *"\0"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only/input.js
JavaScript
var foo = { "\0\x01": "foo", get "\0\x01"() { return "bar"; }, set "\0\x01"(foo) { save(foo); }, *"\0\x01"() { return "foobar"; }, }; class bar { get "\0\x01"() { return "bar"; } set "\0\x01"(foo) { save(foo); } *"\0\x01"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only/output.js
JavaScript
var foo1 = { "\0\x01": "foo", get "\0\x01" () { return "bar"; }, set "\0\x01" (foo){ save(foo); }, *"\0\x01" () { return "foobar"; } }; class bar { get "\0\x01"() { return "bar"; } set "\0\x01"(foo1) { save(foo1); } *"\0\x01"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only/output.mangleOnly.js
JavaScript
var r = { "\0\x01": "foo", get "\0\x01" () { return "bar"; }, set "\0\x01" (foo){ save(foo); }, *"\0\x01" () { return "foobar"; } }; class e { get "\0\x01"() { return "bar"; } set "\0\x01"(r) { save(r); } *"\0\x01"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only/output.terser.js
JavaScript
var foo = { "\0\x01": "foo", get "\0\x01"() { return "bar"; }, set "\0\x01"(foo) { save(foo); }, *"\0\x01"() { return "foobar"; }, }; class bar { get "\0\x01"() { return "bar"; } set "\0\x01"(foo) { save(foo); } *"\0\x01"() { return "foobar"; } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only_static/input.js
JavaScript
class foo { static get "\x02\x03"() { return "bar"; } static set "\x04\x05"(foo) { save(foo); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only_static/output.js
JavaScript
class foo { static get "\x02\x03"() { return "bar"; } static set "\x04\x05"(foo) { save(foo); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only_static/output.mangleOnly.js
JavaScript
class t { static get "\x02\x03"() { return "bar"; } static set "\x04\x05"(t) { save(t); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/property_with_unprintable_ascii_only_static/output.terser.js
JavaScript
class foo { static get "\x02\x03"() { return "bar"; } static set "\x04\x05"(foo) { save(foo); } }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/shorthand_properties/input.js
JavaScript
(function () { var prop = 1; const value = { prop: prop }; return value; })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/shorthand_properties/output.js
JavaScript
(function() { var n = 1; const r = { prop: n }; return r; })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/shorthand_properties/output.mangleOnly.js
JavaScript
(function() { var n = 1; const r = { prop: n }; return r; })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/shorthand_properties/output.terser.js
JavaScript
(function () { var n = 1; const r = { prop: n }; return r; })();
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/use_shorthand_opportunity/input.js
JavaScript
var foo = 123; var obj = { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/use_shorthand_opportunity/output.js
JavaScript
var foo = 123; var obj = { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/use_shorthand_opportunity/output.mangleOnly.js
JavaScript
var a = 123; var r = { foo: a };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/use_shorthand_opportunity/output.terser.js
JavaScript
var foo = 123; var obj = { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/variable_as_computed_property/input.js
JavaScript
function getLine(header) { return { [header]: {} }; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/variable_as_computed_property/output.js
JavaScript
function getLine(header) { return { [header]: {} }; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/variable_as_computed_property/output.mangleOnly.js
JavaScript
function n(n) { return { [n]: {} }; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/object/variable_as_computed_property/output.terser.js
JavaScript
function getLine(header) { return { [header]: {} }; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_destructuring_async_word_with_default/input.js
JavaScript
console.log((({ async: async = "PASS" }) => async)({}));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_destructuring_async_word_with_default/output.mangleOnly.js
JavaScript
console.log((({ async: o = "PASS" })=>o)({}));
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_duplicated_parameters_in_non_strict_without_spread_or_default_assignment/input.js
JavaScript
function a(b, b) {} function b({ c: test, c: test }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_duplicated_parameters_in_non_strict_without_spread_or_default_assignment/output.js
JavaScript
function a(b, b) {} function b({ c: test, c: test }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_duplicated_parameters_in_non_strict_without_spread_or_default_assignment/output.mangleOnly.js
JavaScript
function c(c, c) {} function n({ c: c , c: c }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/accept_duplicated_parameters_in_non_strict_without_spread_or_default_assignment/output.terser.js
JavaScript
function a(b, b) {} function b({ c: test, c: test }) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_functions/input.js
JavaScript
(a) => b; (a, b) => c; () => b; (a) => (b) => c; (a) => (b) => c; () => (b, c) => d; (a) => b; (a) => "lel";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_functions/output.js
JavaScript
(a)=>b; (a, b1)=>c; ()=>b; (a)=>(b1)=>c; (a)=>(b1)=>c; ()=>(b1, c1)=>d; (a)=>b; (a)=>"lel";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_functions/output.mangleOnly.js
JavaScript
(l)=>b; (l, e)=>c; ()=>b; (l)=>(l)=>c; (l)=>(l)=>c; ()=>(l, e)=>d; (l)=>b; (l)=>"lel";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_functions/output.terser.js
JavaScript
(a) => b; (a, b) => c; () => b; (a) => (b) => c; (a) => (b) => c; () => (b, c) => d; (a) => b; (a) => "lel";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_return/input.js
JavaScript
() => {}; () => {}; (a) => 1; (a) => -b; (a) => { return b; var b; }; (x, y) => x - y;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_return/output.js
JavaScript
()=>{}; ()=>{}; (a)=>1; (a)=>-b; (a)=>{ return b1; var b1; }; (x, y)=>x - y;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_return/output.mangleOnly.js
JavaScript
()=>{}; ()=>{}; (r)=>1; (r)=>-b; (r)=>{ return a; var a; }; (r, a)=>r - a;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/arrow_return/output.terser.js
JavaScript
() => {}; () => {}; (a) => 1; (a) => -b; (a) => { return b; var b; }; (x, y) => x - y;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_arguments/input.js
JavaScript
function x(a = 6) {} function x(a = 6 + 5) {} function x({ foo } = {}, [bar] = [1]) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_arguments/output.js
JavaScript
function x(a = 6) {} function x(a = 11) {} function x({ foo } = {}, [bar] = [ 1 ]) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_arguments/output.mangleOnly.js
JavaScript
function n(c = 6) {} function n(c = 6 + 5) {} function n({ foo: c } = {}, [f] = [ 1 ]) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_arguments/output.terser.js
JavaScript
function x(a = 6) {} function x(a = 6 + 5) {} function x({ foo } = {}, [bar] = [1]) {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_values_in_destructurings/input.js
JavaScript
function x({ a = 4, b }) {} function x([b, c = 12]) {} var { x = 6, y } = x; var [x, y = 6] = x;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_values_in_destructurings/output.js
JavaScript
function x({ a = 4, b }) {} function x([b, c = 12]) {} var { x = 6, y } = x; var [x, y = 6] = x;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_values_in_destructurings/output.mangleOnly.js
JavaScript
function n({ a: n = 4 , b: a }) {} function n([n, a = 12]) {} var { x: n = 6 , y: a } = n; var [n, a = 6] = n;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/default_values_in_destructurings/output.terser.js
JavaScript
function x({ a = 4, b }) {} function x([b, c = 12]) {} var { x = 6, y } = x; var [x, y = 6] = x;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_1/input.js
JavaScript
(function (a) {}); (function ([a]) {}); (function ([a, b]) {}); (function ([[a]]) {}); (function ([[a, b]]) {}); (function ([a, [b]]) {}); (function ([[b], a]) {}); (function ({ a: a }) {}); (function ({ a: a, b: b }) {}); (function ([{ a: a }]) {}); (function ([{ a: a, b: b }]) {}); (function ([a, { b: b }]) {}); (function ([{ b: b }, a]) {}); ([a]) => {}; ([a, b]) => {}; ({ a: a }) => {}; ({ a: a, b: b, c: c, d: d, e: e }) => {}; ([a]) => b; ([a, b]) => c; ({ a: a }) => b; ({ a: a, b: b }) => c;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_1/output.js
JavaScript
(function(a) {}); (function([a]) {}); (function([a, b1]) {}); (function([[a]]) {}); (function([[a, b1]]) {}); (function([a, [b1]]) {}); (function([[b1], a]) {}); (function({ a: a }) {}); (function({ a: a , b: b1 }) {}); (function([{ a: a }]) {}); (function([{ a: a , b: b1 }]) {}); (function([a, { b: b1 }]) {}); (function([{ b: b1 }, a]) {}); ([a])=>{}; ([a, b1])=>{}; ({ a: a })=>{}; ({ a: a , b: b1 , c: c1 , d: d , e: e })=>{}; ([a])=>b; ([a, b1])=>c; ({ a: a })=>b; ({ a: a , b: b1 })=>c;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_1/output.mangleOnly.js
JavaScript
(function(n) {}); (function([n]) {}); (function([n, f]) {}); (function([[n]]) {}); (function([[n, f]]) {}); (function([n, [f]]) {}); (function([[n], f]) {}); (function({ a: n }) {}); (function({ a: n , b: f }) {}); (function([{ a: n }]) {}); (function([{ a: n , b: f }]) {}); (function([n, { b: f }]) {}); (function([{ b: n }, f]) {}); ([n])=>{}; ([n, f])=>{}; ({ a: n })=>{}; ({ a: n , b: f , c: i , d: o , e: t })=>{}; ([n])=>b; ([n, f])=>c; ({ a: n })=>b; ({ a: n , b: f })=>c;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_1/output.terser.js
JavaScript
(function (a) {}); (function ([a]) {}); (function ([a, b]) {}); (function ([[a]]) {}); (function ([[a, b]]) {}); (function ([a, [b]]) {}); (function ([[b], a]) {}); (function ({ a: a }) {}); (function ({ a: a, b: b }) {}); (function ([{ a: a }]) {}); (function ([{ a: a, b: b }]) {}); (function ([a, { b: b }]) {}); (function ([{ b: b }, a]) {}); ([a]) => {}; ([a, b]) => {}; ({ a: a }) => {}; ({ a: a, b: b, c: c, d: d, e: e }) => {}; ([a]) => b; ([a, b]) => c; ({ a: a }) => b; ({ a: a, b: b }) => c;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_2/input.js
JavaScript
(function ([]) {}); (function ({}) {}); (function ([, , , , ,]) {}); (function ([a, { b: c }]) {}); (function ([...args]) {}); (function ({ x: x }) {}); class a { *method({ [thrower()]: x } = {}) {} } (function ( a, b, c, d, [ { e: [...f], }, ] ) {})(1, 2, 3, 4, [{ e: [1, 2, 3] }]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_2/output.js
JavaScript
(function ([]) {}); (function ({}) {}); (function ([, , , , ,]) {}); (function ([a, { b: c }]) {}); (function ([...args]) {}); (function ({ x: x }) {}); class a { *method({ [thrower()]: x } = {}) {} } (function ( a, b, c, d, [ { e: [...f], }, ] ) {})(1, 2, 3, 4, [{ e: [1, 2, 3] }]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_2/output.mangleOnly.js
JavaScript
(function([]) {}); (function({}) {}); (function([, , , , , ]) {}); (function([n, { b: o }]) {}); (function([...n]) {}); (function({ x: n }) {}); class n { *method({ [thrower()]: n } = {}) {} } (function(n, o, t, c, [{ e: [...f] }]) {})(1, 2, 3, 4, [ { e: [ 1, 2, 3 ] } ]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_2/output.terser.js
JavaScript
(function ([]) {}); (function ({}) {}); (function ([, , , , ,]) {}); (function ([a, { b: c }]) {}); (function ([...args]) {}); (function ({ x: x }) {}); class a { *method({ [thrower()]: x } = {}) {} } (function ( a, b, c, d, [ { e: [...f], }, ] ) {})(1, 2, 3, 4, [{ e: [1, 2, 3] }]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_3/input.js
JavaScript
function fn3({ x: { y: { z: {} = 42 }, }, }) {} const { a = function () {}, b = (0, function () {}) } = {}; let { c = function () {}, d = (0, function () {}) } = {}; var { e = function () {}, f = (0, function () {}) } = {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_3/output.js
JavaScript
function fn3({ x: { y: { z: {} = 42 } } }) {} const { a = function() {}, b = function() {} } = {}; let { c = function() {}, d = function() {} } = {}; var { e = function() {}, f = function() {} } = {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_3/output.mangleOnly.js
JavaScript
function n({ x: { y: { z: {} = 42 } , } , }) {} const { a: t = function() {} , b: c = (0, function() {}) } = {}; let { c: o = function() {} , d: f = (0, function() {}) } = {}; var { e: i = function() {} , f: u = (0, function() {}) } = {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/destructuring_arguments_3/output.terser.js
JavaScript
function fn3({ x: { y: { z: {} = 42 }, }, }) {} const { a = function () {}, b = (0, function () {}) } = {}; let { c = function () {}, d = (0, function () {}) } = {}; var { e = function () {}, f = (0, function () {}) } = {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_arrow_functions_and_hoist/input.js
JavaScript
(a) => b;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_arrow_functions_and_hoist/output.js
JavaScript
(a) => b;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_arrow_functions_and_hoist/output.mangleOnly.js
JavaScript
(a)=>b;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_arrow_functions_and_hoist/output.terser.js
JavaScript
(a) => b;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_assign_arrow_functions/input.js
JavaScript
oninstall = (e) => false; oninstall = () => false;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_assign_arrow_functions/output.js
JavaScript
oninstall = (e) => false; oninstall = () => false;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_assign_arrow_functions/output.mangleOnly.js
JavaScript
oninstall = (l)=>false; oninstall = ()=>false;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/parameters/regression_assign_arrow_functions/output.terser.js
JavaScript
oninstall = (e) => false; oninstall = () => false;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_1/input.js
JavaScript
console.log( { a: "FAIL", get a() { return "PASS"; }, }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_1/output.js
JavaScript
console.log( { a: "FAIL", get a() { return "PASS"; }, }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_1/output.mangleOnly.js
JavaScript
console.log({ a: "FAIL", get a () { return "PASS"; } }.a);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_1/output.terser.js
JavaScript
console.log( { a: "FAIL", get a() { return "PASS"; }, }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_2/input.js
JavaScript
console.log( { get a() { return "PASS"; }, set a(v) {}, a: "FAIL", }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_2/output.js
JavaScript
console.log( { get a() { return "PASS"; }, set a(v) {}, a: "FAIL", }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_2/output.mangleOnly.js
JavaScript
console.log({ get a () { return "PASS"; }, set a (v){}, a: "FAIL" }.a);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_2/output.terser.js
JavaScript
console.log( { get a() { return "PASS"; }, set a(v) {}, a: "FAIL", }.a );
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_boolean/input.js
JavaScript
var a = 1; var b = { get true() { return a; }, set false(c) { a = c; }, }; console.log(b.true, (b.false = 2), b.true);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_boolean/output.js
JavaScript
var a = 1; var b = { get true() { return a; }, set false(c) { a = c; }, }; console.log(b.true, (b.false = 2), b.true);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_boolean/output.mangleOnly.js
JavaScript
var e = 1; var r = { get true () { return e; }, set false (c){ e = c; } }; console.log(r.true, (r.false = 2), r.true);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_boolean/output.terser.js
JavaScript
var a = 1; var b = { get true() { return a; }, set false(c) { a = c; }, }; console.log(b.true, (b.false = 2), b.true);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_get_set/input.js
JavaScript
var a = 1; var b = { get set() { return a; }, set get(c) { a = c; }, }; console.log(b.set, (b.get = 2), b.set);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_get_set/output.js
JavaScript
var a = 1; var b = { get set() { return a; }, set get(c) { a = c; }, }; console.log(b.set, (b.get = 2), b.set);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_get_set/output.mangleOnly.js
JavaScript
var e = 1; var t = { get set () { return e; }, set get (c){ e = c; } }; console.log(t.set, (t.get = 2), t.set);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_get_set/output.terser.js
JavaScript
var a = 1; var b = { get set() { return a; }, set get(c) { a = c; }, }; console.log(b.set, (b.get = 2), b.set);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_null_undefined/input.js
JavaScript
var a = 1; var b = { get null() { return a; }, set undefined(c) { a = c; }, }; console.log(b.null, (b.undefined = 2), b.null);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_null_undefined/output.js
JavaScript
var a = 1; var b = { get null() { return a; }, set undefined(c) { a = c; }, }; console.log(b.null, (b.undefined = 2), b.null);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_null_undefined/output.mangleOnly.js
JavaScript
var n = 1; var e = { get null () { return n; }, set undefined (c){ n = c; } }; console.log(e.null, (e.undefined = 2), e.null);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_null_undefined/output.terser.js
JavaScript
var a = 1; var b = { get null() { return a; }, set undefined(c) { a = c; }, }; console.log(b.null, (b.undefined = 2), b.null);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_number/input.js
JavaScript
var a = 1; var b = { get 42() { return a; }, set 42(c) { a = c; }, }; console.log(b[42], (b[42] = 2), b[42]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_number/output.js
JavaScript
var a = 1; var b = { get 42() { return a; }, set 42(c) { a = c; }, }; console.log(b[42], (b[42] = 2), b[42]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_number/output.mangleOnly.js
JavaScript
var e = 1; var r = { get 42 () { return e; }, set 42 (c){ e = c; } }; console.log(r[42], (r[42] = 2), r[42]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_number/output.terser.js
JavaScript
var a = 1; var b = { get 42() { return a; }, set 42(c) { a = c; }, }; console.log(b[42], (b[42] = 2), b[42]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_string/input.js
JavaScript
var a = 1; var b = { get "a-b"() { return a; }, set "a-b"(c) { a = c; }, }; console.log(b["a-b"], (b["a-b"] = 2), b["a-b"]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_string/output.js
JavaScript
var a = 1; var b = { get "a-b"() { return a; }, set "a-b"(c) { a = c; }, }; console.log(b["a-b"], (b["a-b"] = 2), b["a-b"]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_string/output.mangleOnly.js
JavaScript
var a = 1; var b = { get "a-b" () { return a; }, set "a-b" (c){ a = c; } }; console.log(b["a-b"], (b["a-b"] = 2), b["a-b"]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_string/output.terser.js
JavaScript
var a = 1; var b = { get "a-b"() { return a; }, set "a-b"(c) { a = c; }, }; console.log(b["a-b"], (b["a-b"] = 2), b["a-b"]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_this/input.js
JavaScript
var a = 1; var b = { get this() { return a; }, set this(c) { a = c; }, }; console.log(b.this, (b.this = 2), b.this);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_this/output.js
JavaScript
var a = 1; var b = { get this() { return a; }, set this(c) { a = c; }, }; console.log(b.this, (b.this = 2), b.this);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_this/output.mangleOnly.js
JavaScript
var t = 1; var s = { get this () { return t; }, set this (c){ t = c; } }; console.log(s.this, (s.this = 2), s.this);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/accessor_this/output.terser.js
JavaScript
var a = 1; var b = { get this() { return a; }, set this(c) { a = c; }, }; console.log(b.this, (b.this = 2), b.this);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/array_hole/input.js
JavaScript
console.log([1, 2, , 3][1], [1, 2, , 3][2], [1, 2, , 3][3]);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_minifier/tests/terser/compress/properties/array_hole/output.js
JavaScript
console.log(2, void 0, 3);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University