making curry in this bish

This commit is contained in:
Miguel 2024-06-26 01:38:49 -04:00
parent 0b04b5ad51
commit 8f81637c86

View file

@ -1,15 +1,12 @@
const myList = [
'agua',
'bacalao',
'mantequilla',
'manzana',
'jugo',
'habichuelas',
'bacalao',
'pan',
let dog =
name =>
size =>
breed =>
name + ' is a ' +
size + ' dog of the ' +
breed + ' breed!'
]
const newArr = _.difference(myList, ['pan', 'jugo']);
console.log(newArr);
let Kaidou = dog('Kaidou')
let fourteenlbKaidou = Kaidou('14lb')
console.log(fourteenlbKaidou('chiweeny'));