Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setTimeout() nodejs

function myFunc(arg) {
  console.log(`arg was => ${arg}`);
}

setTimeout(myFunc, 1500, 'funky');
Source by nodejs.org #
 
PREVIOUS NEXT
Tagged: #nodejs
ADD COMMENT
Topic
Name
4+9 =