Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript calculate time

console.time("timer");   //start time with name = timer
console.timeEnd("timer"); //end timer and log time difference
 
PREVIOUS NEXT
Tagged: #javascript #calculate #time
ADD COMMENT
Topic
Name
9+4 =