Skip to content

Instantly share code, notes, and snippets.

@moonwave99
Last active December 9, 2020 17:34
Show Gist options
  • Save moonwave99/4feefaa94286395eaea29f2052a9d0c2 to your computer and use it in GitHub Desktop.
Save moonwave99/4feefaa94286395eaea29f2052a9d0c2 to your computer and use it in GitHub Desktop.
export function mosconize(s) {
return s.replace('.', '').toLowerCase();
}
export function findMona(monas) {
return monas.filter(m => m.slamsDoor && m.closesShouting);
}
export function nervousBreak(arr) {
const x = arr.find(({ madeMeNervous }) => madeMeNervous);
const head = x.shift();
return head.split('');
}
export function coerceToJesus(val) {
return val === null ? 'gesucristo' : val;
}
if (!bestemmio) {
look()
}
setTimeout(() => console.log('Speta che me fermo un attimo'), 500);
setTimeout(() => console.log('Speta che me fermo un secondo'), 1000);
for (let i = 1; i <= 3; i++) {
console.log('orco dio');
}
for (let i = 1; i <= 4; i++) {
console.log('dio cane');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment