This video covers the basics on using arrays in JavaScript. What do they look like, how do they work, when should you use them? Code: https://thecodingtrain.com/tracks/code-programming-with-p5-js/code/7-arrays/1-arrays 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/DmwVbhOZ 🎥 Previous video: https://youtu.be/5nf41qLeagU?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 Next video: https://youtu.be/RXWO3mFuW-I?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA Timestamps: 0:00 Introduction 1:39 What is an Array? 3:20 Indexes 5:07 Code Example 6:50 Referring to a Value in an Array 8:40 Dynamic Reference to a Value in an Array 10:56 Trying to Access a Value that Doesn't Exist 12:20 Using the Array's Length Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://discord.gg/hPuGy2g 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org 🔗 p5.js Web Editor: https://editor.p5js.org/ 🔗 Processing: https://processing.org 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #arrays #basics #p5js #javascript

p5.jsarrayarraysJavaScript (Programming Language)Array Data StructureProgramming Language (Software Genre)what is an arrayjavascriptp5.js arrayp5.js tutorialp5.js arrayswhat is an array?what is arraydaniel shiffman arrayswhat is an array? - p5.js tuorialwhat is an array jsprogrammingcreative codingp5jsp5.js tutorials