Session Plan
Objects
Access properties two ways: .keyname and [keyname]
Key - value
Array of objects
Let the trainees explain iterating an array of objects
Use real world examples (users, products, house listings)
Arrays continued
pop,push,shift,unshiftLet trainees investigate
shiftandunshiftThe longest of the word pairs unshift, push makes the array longer!
includes- Let the trainees investigate thisLooping through an array
No
forEach,map,filterorreduce
Call stack
Used for figuring code flow in js! Where does my function go when it is done here.
Zoey Zou has created a nice session plan here: https://www.notion.so/JS1-Week3-a0f122866ac34fc3b98b7a41870046f4
Flipped classroom videos
Code inspiration
Inspiration: Objects
Inspiration: Arrays
Inspiration: Call stack
Exercises
Exercise: Call stack
Draw the call stack array at every draw point
CodeWar exercises
Last updated