Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

time taken for a function javascript

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