JavaScript Array Methods: map()

Published: 17 November 2022
on channel: Treehouse
838
23

We offer free trials - learn JavaScript with us! https://trhou.se/3TKWrwB
Still using a for loop to iterate over a collection of array elements? In this quick guide, Dustin goes over an array method known as map() that has a more straightforward syntax than the standard for loop and some extra features. Follow along to learn how and when to use the map() array method.
Start your free trial to learn more! https://trhou.se/3TKWrwB

Blog article:
https://trhou.se/3UJ4fjz

Resources:
MDN - toUpperCase() https://trhou.se/3AnIFca
MDN - map() https://trhou.se/3EnSats

Chapters:
0:00 Intro
0:33 MDN documentation for map()
2:43 Setting text editor up for practicing map()
3:11 Practice using map()
6:00 Outro

#javascript #html

Learn how to build websites and apps, write code, or start a business at Treehouse. Learn from over 1,000 videos created by our expert teachers on web design, coding, business, and much more. Treehouse teaches the in-demand technology skills you need to land your dream job.

Follow Us!
Twitter:   / treehouse  
Instagram:   / teamtreehouse  
LinkedIn:   / treehouse-island-inc-  
Facebook:   / teamtreehouse  


On this page of the site you can watch the video online JavaScript Array Methods: map() with a duration of hours minute second in good quality, which was uploaded by the user Treehouse 17 November 2022, share the link with friends and acquaintances, this video has already been watched 838 times on youtube and it was liked by 23 viewers. Enjoy your viewing!