What is “syntactic sugar”?
designed to make things easier to read, can be expressed more clearly or concisely
What is the typeof an ES6 class?
a function
Describe ES6 class syntax.
`class` keyword `nameOfClass` {
`constructor(arg)`
`this.arg = arg`;
}
`function( )` {
`return this.arg`
}
}What is “refactoring”?
restructuring existing code without changing external behavior