Which of the following code snippets will alert "Wake up!" every 10 minutes? Select all correct options.
Explanation
The setInterval() method call a function at specified intervals (in milliseconds) Example:

setInterval(function(){
console.log('a minute')}, 60000);
will print "a minute" message every 60 seconds.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по JavaScript
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты