Chaining Array Methods
Link to code snippet: GitHub One of the greatest things about JavaScript is how easy it is to work with arrays. The various array methods (map, filter, reduce, etc.…
I'm a detail-oriented individual who thrives in fast-paced team environments. I have experience across different industries, working with both front end and back end technologies.
arrays
Link to code snippet: GitHub One of the greatest things about JavaScript is how easy it is to work with arrays. The various array methods (map, filter, reduce, etc.…
Link to code snippet: GitHub Let's begin with an array of colors: We can add the color yellow to the end of our array: Now, our array contains four different colors…
Using the push() method, we can add elements to the end of an array. But what if our goal is to add elements to the beginning of an array? JavaScript has another me…
Knowing how to check for duplicates in an array can be useful in many different situations. Here are two ways to accomplish this: Combination of some() and indexOf(…
Let's go over a few ways to combine arrays in Javascript! Concatenate We have two arrays, an array of numbers and an array of colors. We can use [].concat syntax to…