DEV Community


Discussion on: Improve your JavaScript with functional programming

nitinja profile image
Nitin Jadhav Author

I believe they are doing the same thing. bind() offers a built-in solution for writing a wrapper function, but with the added advantage of passing context as the first argument (which I haven't used here).