re: 15 must-know JavaScript array methods in 2020 VIEW POST


I think everyone know .push(), but recently I need .shift().

I think I might not need double-ended dequeue, yet.

The most important things you should emphasize, IMO, are,

  • Mutating / Non-mutating
  • Returns Array / returns something else

Some other should-know, I think, are

  • Array constructor
  • Array.from

Great feedback. I will do a post on it later. Thanks again :).

code of conduct - report abuse