Keywords
Objects
Advanced Objects
Classes
Potpourri
100

Defines how to change or retrieve the value of a property within the object.

get/set

100

How data is stored in objects.

key: value pairs

100

Properties that are not meant to be gotten or set directly after instantiation.

Keys prepended with "_"

100

A blueprint for an object.

Class

100

An approach to programming that is based on objects that encapsulate the data and the functions that operate with and on the data.

Object Oriented Programming

200

Creates a new empty object, sets the value of "this" to the new empty object, and calls the designated constructor method.

new

200

A function stored within an object.

method

200

const {propertyKey} = objectName;


is an example of this

Destructured Assignment

200

Defines what happens when a new instance of a class is instantiated.

Constructor method

200

What does the following code print to the console?

"fluffy"

300

Refers to the object in which it is being invoked.

this

300

A means for accessing an object's properties if the key does not contain any special characters.

Dot notation

300

What does the following code print to the console?

"object"

300

When a class retains properties from another class.

Inheritance

300

True or False ? is the log output value on the last line of code correct

False

400

Invokes the constructor function of the parent class.

super()

400

A way of accessing an object's properties if the key contains special characters.

Bracket notation []

400

Any function which is not a class or constructor that returns a (presumably new) object

Factory function

400

Keyword used to create a child/subclass.

extends

400

Two distinct objects with identical properties when compared using the "===" operator will return this value.

false

500

Defines a method that can be called without instantiating the class.

static

500

Comma-separated key-value pairs surrounded by curly braces.

Object literal

500

Object.entries(), Object.keys(), and Object.assign() are all examples of this.

Built-in prototype Object methods

500

Unlike functions and other variables, classes do not benefit from this, i.e. they must be declared first before they can be accessed.

Hoisting

500

Using these to define object methods will change the reference of the "this" keyword within them from the calling object to whatever encapsulates the calling object.

Arrow Functions