es6-classes Flashcards
1
Q
What is “syntactic sugar”?
A
syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express.
2
Q
What is the typeof an ES6 class?
A
object
3
Q
Describe ES6 class syntax.
A
class classname { constructor(params) { this.params = params; } }
4
Q
What is “refactoring”?
A
code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior.