Object-Oriented JavaScript ES6

Image source from codeburst.io
class PersonName[firstName, lastName]
Age
Gender
Interests
Bio{"[Name] is ["Age"] years old. They like ["interests"]"}
Greeting{"Hi! My name is [Name]"}

Classes

What are classes?

Example class function via VsCode

Constructors

What are constructors?

Example Constructor via VSCode
Fish by Giphy
let blueFish = new Fish('Blue Fish', 1, 'Puffer fish', "Female)

Getters & Setters

What are getters and setters in Object-Oriented JS?

Example getter
Getter is now accessible to read
Flatiron: OOJS Method Type
Flatiron: OOJS Method Type
Example Static method

Static Method

What is a static method?

Clones of Home (Body Hacks)

Software Engineer