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
На этой странице сайта вы можете посмотреть видео онлайн JavaScript Array Methods: map() длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Treehouse 17 Ноябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 838 раз и оно понравилось 23 зрителям. Приятного просмотра!