yeah we should probably have a package for every single prototype method since, as you said, we can't use methods in higher order functions.
Oh wait, arrow functions exist! Phew, what a relief.
Although I suppose arrow functions could be considered too much effort, so we may as well have a package for every single method anyway. Let's do that!
But see my comment above about inline arrow functions being recreated every time they're evaluated. Maybe this doesn't matter in 99% of cases, but if it matters 1% of the time, then it's not useless in my book.
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.
yeah we should probably have a package for every single prototype method since, as you said, we can't use methods in higher order functions.
Oh wait, arrow functions exist! Phew, what a relief.
Although I suppose arrow functions could be considered too much effort, so we may as well have a package for every single method anyway. Let's do that!
/s
But see my comment above about inline arrow functions being recreated every time they're evaluated. Maybe this doesn't matter in 99% of cases, but if it matters 1% of the time, then it's not useless in my book.