Week 6 - Classes and Objects
This week we will review:
- Quick review of organizing your code into Functions
- Introducing Object Oriented Programming
- Defining a Class and it's Constructor
- Creating Objects from a Class
- Defining variables within Objects
- Defining Methods (Functions) within Objects
Review Homework
Arrays
-
elements are in order starting with item 0
-
empty arrays are initialized as follows:
let myArray=[];
-
push(value) - adds an element to the array