What is “syntactic sugar”?
In computer science, syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express:
It makes the language “sweeter” for human use: things can be expressed more clearly
What is the typeof an ES6 class?
functions.
Describe ES6 class syntax.
class className {
constructor(name) {
this.name = name;
}
getName() {
return this.name;
}
}What is “refactoring”?
In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior.
improves design while the functionality remains the same