Predict the output of the following javascript code

Open link in next tab

Predict the output of the following javascript code - 04hivg0osqsqo8ppto

https://app.withcodeexample.com/quiz/04hivg0osqsqo8ppto

In this code, a `for` loop is used to create three instances of a `setTimeout` function. Each instance logs the value of `i` after a delay of 100 millisecond...

Predict the output of the following javascript code - 04hivg0osqsqo8ppto