setTimeout() function

Hey people, can somebody tell me how to set up Timeout function?? i found few topics but it quite didnt help. I’d be much grateful <3

@smokys i had made a post a weeks ago

When i use this code
it doesnt work cause it says


My explained “version” :

// you need function not just () alone
setTimeout(function(){  // < ----- you can also do set interval which runs that code in that time period that you picked.
  // action goes here
// this comma separates the function from the seconds ( in miliseconds)
1 Like