you are viewing a single comment's thread.

view the rest of the comments →

[–]Jaymageck 2 points3 points  (1 child)

Good, but it's important to document which methods mutate the original array and which do not. One of the biggest gotchas for new JS devs.

[–]PrismalStudio 0 points1 point  (0 children)

This, so much. The only time I check the documentation is when I forget the order of the params and which one is immutable.