Defines how to change or retrieve the value of a property within the object.
get/set
How data is stored in objects.
key: value pairs
Properties that are not meant to be gotten or set directly after instantiation.
Keys prepended with "_"
A blueprint for an object.
Class
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
Creates a new empty object, sets the value of "this" to the new empty object, and calls the designated constructor method.
new
A function stored within an object.
method
const {propertyKey} = objectName;
is an example of this
Destructured Assignment
Defines what happens when a new instance of a class is instantiated.
Constructor method
What does the following code print to the console?
"fluffy"
Refers to the object in which it is being invoked.
this
A means for accessing an object's properties if the key does not contain any special characters.
Dot notation
What does the following code print to the console?
"object"
When a class retains properties from another class.
Inheritance
True or False ? is the log output value on the last line of code correct
False
Invokes the constructor function of the parent class.
super()
A way of accessing an object's properties if the key contains special characters.
Bracket notation []
Any function which is not a class or constructor that returns a (presumably new) object
Factory function
Keyword used to create a child/subclass.
extends
Two distinct objects with identical properties when compared using the "===" operator will return this value.
false
Defines a method that can be called without instantiating the class.
static
Comma-separated key-value pairs surrounded by curly braces.
Object literal
Object.entries(), Object.keys(), and Object.assign() are all examples of this.
Built-in prototype Object methods
Unlike functions and other variables, classes do not benefit from this, i.e. they must be declared first before they can be accessed.
Hoisting
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