Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout javascript

//setTimeout having  parameater 
//1. function
//2. time in mili second
//parm1 , parm2 ........
setTimeout(function(){
 	console.log("DARK_AMMY"); 
}, 2000);//wait 2 seconds
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #settimeout #javascript
ADD COMMENT
Topic
Name
3+2 =