making curry in this bish
This commit is contained in:
parent
0b04b5ad51
commit
8f81637c86
1 changed files with 11 additions and 14 deletions
25
curry.js
25
curry.js
|
@ -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'));
|
Loading…
Reference in a new issue