es6-classes Flashcards

1
Q

What is “syntactic sugar”?

A

syntax that is designed to make things easier to read and write in code

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 keyword with the name of class followed by opening curly braces to add the constructor and methods

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

What is “refactoring”?

A

the process of editing/restructuring code without changing its external behavior/functionality; intended to improve design, structure, and/or implementation of the software for better code readability.

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