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)

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

What is the type of an ES6 class?

A

It is 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(type){this.type=type} and method. check your notes!!!

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

What is “refactoring”?

A

Restructuing existing computer code for better readability and reduce complexity.

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