Wow, thanks for the such detailed comment! I did not think about binding and collecting arguments with each function call. JS is so flexible language that allows many ways to solve a problem. Thanks for sharing your path!
bind
I found your approach your readable as it is more intentional what the code is doing 🙂
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Wow, thanks for the such detailed comment! I did not think about
bind
ing and collecting arguments with each function call. JS is so flexible language that allows many ways to solve a problem. Thanks for sharing your path!I found your approach your readable as it is more intentional what the code is doing 🙂