✔||? Commit or Vomit | function currying ?

Function currying

Hard to put vomit and curry together in a title, but I had to ask ?
I see this posted a lot on dev.to, function currying, but I find it not that readable myself TBH. What do you think?
And please tell me why ?

function …


This content originally appeared on DEV Community and was authored by ?? Jasper de Jager

Function currying

Hard to put vomit and curry together in a title, but I had to ask ?

I see this posted a lot on dev.to, function currying, but I find it not that readable myself TBH. What do you think?
And please tell me why ?

function multiply(a) {
    return (b) => {
        return (c) => {
            return a * b * c
        }
    }
}
console.log(multiply(1)(2)(3)) // 6

function currying ✔||??

❤: Commit (I'd commit something like this)
?: Vomit (we all know unicorns don't vomit)
?: Like your post please continue this series!

Let's vote! ?

Photo by Jason Leung on Unsplash


This content originally appeared on DEV Community and was authored by ?? Jasper de Jager


Print Share Comment Cite Upload Translate Updates
APA

?? Jasper de Jager | Sciencx (2021-04-30T07:48:14+00:00) ✔||? Commit or Vomit | function currying ?. Retrieved from https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/

MLA
" » ✔||? Commit or Vomit | function currying ?." ?? Jasper de Jager | Sciencx - Friday April 30, 2021, https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/
HARVARD
?? Jasper de Jager | Sciencx Friday April 30, 2021 » ✔||? Commit or Vomit | function currying ?., viewed ,<https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/>
VANCOUVER
?? Jasper de Jager | Sciencx - » ✔||? Commit or Vomit | function currying ?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/
CHICAGO
" » ✔||? Commit or Vomit | function currying ?." ?? Jasper de Jager | Sciencx - Accessed . https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/
IEEE
" » ✔||? Commit or Vomit | function currying ?." ?? Jasper de Jager | Sciencx [Online]. Available: https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/. [Accessed: ]
rf:citation
» ✔||? Commit or Vomit | function currying ? | ?? Jasper de Jager | Sciencx | https://www.scien.cx/2021/04/30/%e2%9c%94%f0%9f%a4%a2-commit-or-vomit-function-currying-%f0%9f%8d%9b/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.