JavaScript Object Literals Video
Opened this issue · 2 comments
I had a request to add my "javascript object literals" video to the website! I think this is the one? https://youtu.be/-e5h4IGKZRY Not sure if it fits into the "code!" learning track given how old it is. . . .maybe I should make a new video about it. @jht1493 is this the video you meant?
Yes, that's the video. Its referenced here is the ICM syllabus:
https://github.com/ITPNYU/ICM-2024-Code/blob/master/weeks/05_functions.md#object-literals
You also use object literals here on current coding train:
5-functions/1-basics
After some thought I'd recommend build on your existing function basics to use object literals to demonstrate parameters and return values. Even array of object literals! A gentle intro to objects before the deep ocean of classes.
// https://editor.p5js.org/jht9629-nyu/sketches/DPUic6Iyi
// Wk05 balls parameters
Thanks for these suggestions! I'm waiting for p5.js 2.0 to re-record or update any of these videos but I will definitely keep this suggestion in mind! For now it might make sense to put the object literal video in one of the extra p5.js tracks (https://thecodingtrain.com/tracks/p5-tips-and-tricks or https://thecodingtrain.com/tracks/topics-in-native-javascript). Thank you @jht9629-nyu!