DEV Community

Cover image for Useful JavaScript array methods

Useful JavaScript array methods

Phyllis on June 25, 2020

Array is one of the most frequently used data structure in JavaScript. It is an object that can store a collection of values of the same type. For ...
Collapse
 
hangindev profile image
Jason Leung πŸ§—β€β™‚οΈπŸ‘¨β€πŸ’»

Hi Phyllis! This is definitely a nice cheat sheet! Thank you and keep it up!πŸ’ͺ

Collapse
 
phyllis_yym profile image
Phyllis

Hi Jason! Thanks for your support, much appreciated !

P.S. I’m from Hong Kong tooπŸ‘‹πŸ»

Collapse
 
hangindev profile image
Jason Leung πŸ§—β€β™‚οΈπŸ‘¨β€πŸ’»

ζˆ‘ηŸ₯ε‘€! I am happy I found another Hong Kong web developer here! 🀩

Thread Thread
 
phyllis_yym profile image
Phyllis

ζˆ‘ιƒ½ε₯½ι–‹εΏƒοΌYou are the first Hong Kong web developer I met here and on Twitter 🀩

Thread Thread
 
hangindev profile image
Jason Leung πŸ§—β€β™‚οΈπŸ‘¨β€πŸ’»

Feel free to drop me a DM anytime you need help. Not an expert, but happy to share what I know. πŸ˜‰

Thread Thread
 
phyllis_yym profile image
Phyllis

Thanks for your offer!! I will drop you a message when I get stuck :)

Collapse
 
skaytech profile image
skaytech

Love the gifs :-) nice article. Bookmarking it for future reference.

Collapse
 
phyllis_yym profile image
Phyllis

Thank you @skaytech πŸ€—

Collapse
 
ineam profile image
Amine M

Handy guide, thanks

Collapse
 
phyllis_yym profile image
Phyllis

I’m glad you like it, thanks !

Collapse
 
codepumps profile image
Serkan Sayhan

Thank you for information. That's awesome. I had freshen old information after the article :)

Collapse
 
phyllis_yym profile image
Phyllis

Thanks, glad it helps !

Collapse
 
voiedev profile image
Charles Allen

What about all the FP-style HOFs?
map, flatMap, filter, fold, ...

Collapse
 
devindford profile image
Devin Ford

Incredible information and formatted in an easy to read and understand way!

Thank you for sharing, bookmarking this one for future reference!!

Collapse
 
phyllis_yym profile image
Phyllis

Thanks Devin! Really appreciate your support :)

Collapse
 
zakariaelk profile image
Zakaria Elk

Awesome guide for these practical methods! Thanks

Collapse
 
phyllis_yym profile image
Phyllis

Thanks! Glad you found it helpful :)

Collapse
 
sataru profile image
Marco

Very nice :) thanks for sharing!
But what about sort(callback), filter() and reduce()?
They can come pretty handy ;)

Collapse
 
phyllis_yym profile image
Phyllis

Thanks for your suggestion! I may add these methods in this article later.