This week we will review

Objects

Objects encapsulate both data and code (i.e. variables and functions)

Syntax to create an object:

// let's define a bubble
class Bubble {

// everything that it means to be a bubble

}

// let's create instances of bubbles
let bubble1 = new Bubble();
let bubble2 = new Bubble();

Glossary of Term