Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout

// Run anonymous function after 5,000 milliseconds (5 seconds)
setTimeout(() => {
	// Run code
}, 5000);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #settimeout
ADD COMMENT
Topic
Name
6+7 =