Uploaded March 2023 | Updated November 2026, 1 day ago
In this video I summarize the work we did on our "Friday" project listd. An app that will allow users to create, share and watch lists of YouTube channels (and eventually other things).
View the code here: github.com/CodingGarden/listd
Watch the full live stream on the Coding Garden Archive channel - youtube.com/watch?v=yu0mVy3iIFk
View the rest of the devlogs here: youtube.com/playlist?list=PLM_i0obccy3s6lNaYLewHHTTAXL-uS4M5
View the rest of the streams in the series: youtube.com/playlist?list=PLM_i0obccy3ujNeSo0EoVppCYDr8YwjSQ
💜 Follow on Twitch: twitch.tv/codinggarden
📩 Sign up for my mailing list: https://list.coding.garden/
💖 Donate: https://coding.garden/donate
😍 Pledge: https://coding.garden/pledge
💬 Discord: https://coding.garden/discord
🎉 Stickers: https://coding.garden/stickers
💻 Gear List: https://coding.garden/gear
🔎 Search for more Coding Garden videos here: https://coding.garden/videos
🗣 View the Coding Garden FAQ here: github.com/CodingGarden/faqs
In this video I summarize the work we did on our "Friday" project listd. An app that will allow users to create, share and watch lists of YouTube channels (and eventually other things).
View the code here: github.com/CodingGarden/listd
Watch the full live stream on the Coding Garden Archive channel - youtube.com/watch?v=yu0mVy3iIFk
View the rest of the devlogs here: youtube.com/playlist?list=PLM_i0obccy3s6lNaYLewHHTTAXL-uS4M5
View the rest of the streams in the series: youtube.com/playlist?list=PLM_i0obccy3ujNeSo0EoVppCYDr8YwjSQ
💜 Follow on Twitch: twitch.tv/codinggarden
📩 Sign up for my mailing list: https://list.coding.garden/
💖 Donate: https://coding.garden/donate
😍 Pledge: https://coding.garden/pledge
💬 Discord: https://coding.garden/discord
🎉 Stickers: https://coding.garden/stickers
💻 Gear List: https://coding.garden/gear
🔎 Search for more Coding Garden videos here: https://coding.garden/videos
🗣 View the Coding Garden FAQ here: github.com/CodingGarden/faqs

![Implementing array methods from scratch - indexOf, forEach and map
This is an archive of a stream that was broadcasted live on twitch: https://www.twitch.tv/codinggarden/
💖 Donate: https://coding.garden/donate
😍 Pledge: https://coding.garden/pledge
💬 Discord: https://coding.garden/discord
🎉 Stickers: https://coding.garden/stickers
💻 Gear List: https://coding.garden/gear
🔎 Search for more Coding Garden videos here: https://coding.garden/videos
🗣 View the Coding Garden FAQ here: https://github.com/CodingGarden/faqs
🎵 Music provided by Chillhop: https://chillhop.ffm.to/creatorcred
## Important links
* Array - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
* Array.prototype.indexOf() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
* Array.prototype.forEach() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach
* Array.prototype.map() - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
* Lodash - https://lodash.com/
* for await...of - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
* High Order Methods Playlist - https://www.youtube.com/watch?v=EXEgKu3UBQM&list=PLM_i0obccy3smFz8mGuk6g5hw0dRuyr90
## Outline
* [00:00] Stream Intro / Greetings
* [02:36] Introduction
* [07:10] indexOf(array, value)
* [13:45] forEach(array, callback)
* [20:52] lodash
* [24:17] Aside: Async in for loop vs forEach
* [34:34] map(array, callback)
* [40:04] Aside: i += 1 vs i++
* [44:59] map(array, callback) contd.
* [47:40] Aside: Arrow function vs anonymous function
* [51:40] MDN
* [52:40] forEach vs map
* [55:00] Aside: Functions and `this`
* [58:30] Closing
Contributed by: @funnyboy-roks Implementing array methods from scratch - indexOf, forEach and map](https://i.ytimg.com/vi/bK9NIzQBp8c/mqdefault.jpg)








