An array is an ordered data structure consisting of a collection of elements (values or variables), each identified by one or multiple indexes.

- Wiki
3 articles, 0 books.

There are many times in JavaScript when you want to do something with an array of ‘stuff’. Perhaps you want to create a subset of the array elements. Perhaps you want to create something else with each of the elements.

We look at using map, filter, and reduce to manipulate arrays of objects, using techniques borrowed from functional programming.

When we are developing software, we have to store data in memory. Depending on how you want to manipulate the data, you might choose a data structure over another. There are many types of data types such as arrays, maps, sets, lists, trees, graphs, etc. Choosing the right data structure for a task can be tricky. So, this post will help you know the trade-offs so you can always use the right tool for the job.