DEV Community

Cover image for 5 important JavaScript array methods

5 important JavaScript array methods

marlonry on February 04, 2021

Arrays are a crucial part of any programming language. Arrays are commonly used on a daily basis in any type of project and knowing how to interact...
Collapse
 
frontendengineer profile image
Let's Code • • Edited

Nice Marlonry,

Array is one my favorite data structure. As a matter of fact, i just created a youtube video of array map and released it today :D Nice of you to help out the community.

Collapse
 
marlonry profile image
marlonry •

Awesome thank you 😁

Collapse
 
timesindia_in profile image
timesindia.in •

Informative thanks for sharing ,timesindia.in provides all information related to IT Courses..

Collapse
 
isoscar profile image
Oscar •

Nice sharing!

Collapse
 
marlonry profile image
marlonry •

Thank you so much 😁

Collapse
 
eugenman profile image
Eugen •

How about .some()? :)

Collapse
 
marlonry profile image
marlonry •

Also important. I will talk about more array methods in future posts. 😀🤙

Collapse
 
pretty123dian profile image
Pretty Diane •

thx, this was helpful

Collapse
 
marlonry profile image
marlonry •

Thank you. Glad you found it useful!

Collapse
 
cr11mob profile image
CR11-Mob •

Wow! I understand nothing 😅

Collapse
 
aalphaindia profile image
Pawan Pawar •

Keep sharing!

Collapse
 
marlonry profile image
marlonry •

Thank you. I will 😊

Collapse
 
weironiottan profile image
Christian Gabrielsson •

Awesome!

Although I would add .includes() for filtering and .flatmap(), I started using this more and more with Observables when I want to flat and map an observable

Collapse
 
marlonry profile image
marlonry •

Yeah definitely those methods are also useful for some use cases. I'll be talking about some more important methods in future posts. Thank you for you input :)