es6-classes Flashcards
1
Q
What is “syntactic sugar”?
A
a way to design to make things easier to read and express. (example: SQL JOIN = INNER JOIN)
2
Q
What is the type of an ES6 class?
A
It is a function
3
Q
Describe ES6 class syntax.
A
class name{constructor(type){this.type=type} and method. check your notes!!!
4
Q
What is “refactoring”?
A
Restructuing existing computer code for better readability and reduce complexity.