reading-notes

Class 6

Back to home page

JavaScript object basics

Q. How would you describe an object to a non-technical friend you grew up with?

Q. What are some advantages to creating object literals?

Q. How do objects differ from arrays?

Q. Give an example for when you would need to use bracket notation to access an object’s property instead of dot notation.

Q. Evaluate the code below. What does the term this refer to and what is the advantage to using this?

Example: Javascript this example

Intro to the DOM

Q. What is the DOM?

Q. Briefly describe the relationship between the DOM and JavaScript.

Things I want to learn more about