ES6 CLASSES Flashcards

1
Q

What is “syntactic sugar”?

A

Syntax that is readable, organized, makes it easier to interpret, and is related to whatever it is referring to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the typeof an ES6 class?

A

function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe ES6 class syntax.

A

class <name> {
constructor (parameters) {
this.whatever = whatever
}
function() {
whatever
}
}</name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is “refactoring”?

A

Reorganizing code for efficiency, readability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly