re: What's a recent frustrating bug you've had with a crazy simple solution? VIEW POST

re: I don’t have a nice pneumonic to help but I realized one day that map, forEach, and a few others all have the same callback Parma order of value, i...

I kept flipping index and value (and forgetting about array, honestly). But that order does make a lot more sense since the index and array aren't needed for everything.

Thanks for mentioning that by the way. I guess they would've done that for consistency and ease of use.

code of conduct - report abuse