js time calculation code example
Example: javascript calculate time
console.time("timer"); //start time with name = timer
console.timeEnd("timer"); //end timer and log time difference
console.time("timer"); //start time with name = timer
console.timeEnd("timer"); //end timer and log time difference