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 = [
|
let dog =
|
||||||
'agua',
|
name =>
|
||||||
'bacalao',
|
size =>
|
||||||
'mantequilla',
|
breed =>
|
||||||
'manzana',
|
name + ' is a ' +
|
||||||
'jugo',
|
size + ' dog of the ' +
|
||||||
'habichuelas',
|
breed + ' breed!'
|
||||||
'bacalao',
|
|
||||||
'pan',
|
|
||||||
|
|
||||||
]
|
let Kaidou = dog('Kaidou')
|
||||||
|
let fourteenlbKaidou = Kaidou('14lb')
|
||||||
const newArr = _.difference(myList, ['pan', 'jugo']);
|
console.log(fourteenlbKaidou('chiweeny'));
|
||||||
|
|
||||||
console.log(newArr);
|
|
Loading…
Reference in a new issue