The timer's time is 1 second, but add(10,20) gets undefined. Even if the timer time is 0, it is still undefined. After executing what can be executed, execute the asynchronous timer.
js asynchronous execution order problem
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325233217&siteId=291194637
Ranking