Note that in either case, the actual delay may be longer than intended see Reasons for delays longer than specified below.Īlso note that if the value isn't a number, implicit type coercion is silently done on the value to convert it to a number - which can lead to unexpected and surprising results see Non-number delay values are silently coerced into numbers for an example. Is used, meaning execute "immediately", or more accurately, the next event cycle. ![]() If this parameter is omitted, a value of 0 The specified function or code is executed. The time, in milliseconds that the timer should wait before Recommended for the same reasons that make using Which is compiled and executed when the timer expires. ![]() ![]() codeĪn alternative syntax that allows you to include a string instead of a function, A function to be executed after the timer expires.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |