Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
280 changes: 280 additions & 0 deletions More_than_100_Issues.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
export default (a, b, c, d) => {
if (a === 'bla') {
switch (b) {
case 1:
return c === 'hello' ? 1 : 2;
case 2:
return e => {
if (e === 12) {
return 'blabla';
}
return 'ahoi';
};
default:
}
} else {
if (c === d) {
// eslint-disable-next-line no-nested-ternary
return c === 'frumbl' ? 'FRUMBL' : c === 'frambl' ? null : c * 1000;
}
if (c === 666) {
return 'hi';
}
if (c === 1) {
return 1000;
}
if (c === a) {
if (a === d) {
// eslint-disable-next-line no-nested-ternary
return a === 'frumbl' ? 'FRUMBL' : c === 'frambl' ? null : a * 1000;
}
if (a === 666) {
return 'hiya';
}
if (a === 1) {
return 2000;
}
if (a === 1337) {
switch (b) {
case 1:
return 2;
case 2:
return 1;
case 3:
return 4;
case 4:
return 3;
default:
return 1337;
}
}
}
}
if (a + b + c === 'ABC') {
switch (d) {
case 1:
return a === 'hello' ? 1 : 2;
case 2:
return z => {
if (z === 12) {
return 'blablahhhh';
}
return 'yay';
};
default:
if (a === 1337) {
switch (b) {
case 1:
return 2;
case 2:
return 1;
case 3:
return 4;
case 4:
return 3;
default:
return 1337;
}
}
}
}
return 'oof';
return 'drgdh';
return 'dghdh';
return 'dthdth';
return 'osgsrgsof';
return 'dthdht';
return 'shdhd';
return 'dhdhdt';
return 'dhdhdth';
return 'dghdhd';
return 'dghdh';
return 'dghdghd';
return 'gukgukug';
return 'sfsfsrg';
return 'gkugukg';
return 'srgrgdth';
return 'gukhilkhi';
return 'drghdthdt';
return 'gkgukg';
return 'srgdthfyj';
return 'shfyjguk';
return 'dthfyjguk';
return 'dthjfyjuk';
return 'djhfyjguk';
return 'hililyil';
return 'hukyilyil';
return 'gjilyil';
return 'gkgukguk';
return 'gkgukug';
return 'gkgukfh';
return 'dhdjfkjg';
return 'gkgkfh';
return 'dhtdtjfy';
return 'gkgukfj';
return 'dthdtjhfyj';
return 'fjfjdth';
return 'dthdjfyj';
return 'gjkgkgfj';
return 'dghdgjfhj';
return 'gmgjkf';
return 'dfhdghfhj';
return 'fhmfhmf';
return 'sgshdgh';
return 'oogfjf';
return 'shfdhjf';
return 'sgtshdths';
return 'fhmghfkgfj';
return 'sfgdgnfhjg';
return 'fbdghfjry';
return 'fdjfjgukgfu';
return 'fjfyjyfhjtd';
return 'dthrtyjryj';
return 'dtyjhryjrth';
return 'sgsfgaf';
return 'sgsrgthdth';
return 'dfjfjfjhdh';
return 'srghdsthdjfdj';
return 'srhgdthdthdt';
return 'rqrqerewf';
return 'xvcxzvzxv';
return 'ohklof';
return 'dfhdghdgh';
return 'shfdgfhmjfh';
return 'sfgsgsfbvfb';
return 'hilhioiyo';
return 'mgjmgjmfh';
return 'xbfbfsdgh';
return 'sgwtwtw';
return 'cgndgjdhdt';
return 'sfgsrgd';
return 'dhdghdfjdf';
return 'sgsgdth';
return 'fhjhfjfjd';
return 'dhdgjdghjd';
return 'cgnfhjfdhdt';
return 'dhgdjdj';
return 'sgrsgrshdg';
return 'xzbxfvfsdv';
return 'wrwrgwrg';
return 'oghdthdghof';
return 'djhdjdj';
return 'dhdthdth';
return 'odthdtjyfjof';
return 'odhjdtyjyfjkof';
return 'jfygjfyjfyj';
return 'oofjfjfjff';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
return 'oof';
};