FloQast Interview Question

Javascript - Write a function that prints the numbers 1 to 5 with 1 second delay between each print.

Interview Answer

Anonymous

Apr 25, 2017

You an either do it with setTimeout or setInterval