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()
2
Q
Which method can be used to log the current value of a timer that was started using console.time()?
A
console.timeLog()
3
Q
Which method can be used to display the data of an array or object in tabular format?
A
console.table()
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()
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