From 8f81637c8613a4eab97a149172a950feb2bfda50 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 26 Jun 2024 01:38:49 -0400 Subject: [PATCH] making curry in this bish --- curry.js | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) 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