Timer

Onetime

SetTimeout(function, timeout [, language : JScript | VBScript | JavaScript);.

Repetitive

SetInterval(function, timeout [, language : JScript | VBScript | JavaScript);.

Parameter cannot be passed by usual within ().

Instead must be within the body

It may end up referring the same variable

For this interim function is needed.

Updated: 2026 Aug 19