Debugging & Error Handling Flashcards

1
Q

Which method can be used to start a timer to track how long an operation like an asynchronous fallout takes?

A

console.time()

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

Which method can be used to log the current value of a timer that was started using console.time()?

A

console.timeLog()

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

Which method can be used to display the data of an array or object in tabular format?

A

console.table()

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

Which method can be used to create an inline group in the console to indent any following console messages by an additional level?

A

console.group()

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

Which pane in the browser developer tools can be used to watch or inspect the values of any valid JavaScript expression or variable, such as object properties?

A

Watch

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