diff --git a/curry.js b/curry.js index abce7a2..5b23eba 100644 --- a/curry.js +++ b/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); \ No newline at end of file +let Kaidou = dog('Kaidou') +let fourteenlbKaidou = Kaidou('14lb') +console.log(fourteenlbKaidou('chiweeny')); \ No newline at end of file