Put in order · Angular course · Module 12: Security and Performance

Measuring time in code

Order the lines that measure the time of an operation using console.time (top to bottom):

Items to put in order

  • // operations...
  • console.time('loadData');
  • console.timeEnd('loadData');

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