Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript settimeout lambda function

// param1: annonymous function; param 2: time in ms
window.setTimeout(() => {
  console.log('1 second passed!');
}, 1000);
 
PREVIOUS NEXT
Tagged: #javascript #settimeout #lambda #function
ADD COMMENT
Topic
Name
6+3 =