setTimeout()--used to specify to execute a certain program after a specific period of time.
Format:
[Timer object name=]setTimeout(“
Function: Execute
The expression is a string, which can be any javascript statement
setInterval()—repeatedly executes
Format: [timer object name=]setInterval(“
clearInterval() terminates the timer
Format: clearInterval(timer object name)
Is it very useful? Friends who need it can refer to it.