We talked about scope
and this
, and defining functions as properties in an object.
Read the first parts of the following articles. If you read further just know it covers material and content that we're not talking about for a bit. Similary the articles talk a little bit about Jquery, you dont need to know jquery, we'll be covering that in a couple weeks.
https://www.smashingmagazine.com/2009/08/what-you-need-to-know-about-javascript-scope/
Read the sections you are here
and how it works