Question · JavaScript and TypeScript course · Module 5: Advanced JavaScript

Console Tools for Debugging

Which browser tool allows you to measure the execution time of a JavaScript code snippet?

Answer options

  • console.time() and console.timeEnd()
  • console.error()
  • console.log()
  • console.clear()

You can check the correct answer by solving this task in the CodeWorlds game.