1
Answer

Write a try catch block and print the exception message to t

Photo of Lwando Mlonzi

Lwando Mlonzi

5y
579
1
Write a JavaScript function that loops from 1 up to and including 5.
Create a variable to store the row index.
During each iteration, update the row index variable, wait 100 milliseconds (without pausing the loop execution) and console log the row index variable in numerical order.

Answers (1)