Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

code Execution time in nodejs

console.time("dbsave");
var a = 1;

for(var i = 0; i< 20;i++) {
    a = a+a;
}
console.log('Hello World');

console.timeEnd("dbsave");
 
PREVIOUS NEXT
Tagged: #code #Execution #time #nodejs
ADD COMMENT
Topic
Name
6+6 =