JavaScript Array Methods: map()

Still using a for loop to iterate over a collection of array elements? Try out this javascript array method known as map() instead! What is map()? Accordion the MDN documentation, the map() method creates a new array populated with the...

The post JavaScript Array Methods: map() appeared first on Treehouse Blog.