[Solved] I want to print counting from 1 onwards using setInterval function of JavaScript but it’s giving the output as 0 continuously.



I want to print counting from 1 onwards using setInterval function of JavaScript but it’s giving the output as 0 continuously.

solved I want to print counting from 1 onwards using setInterval function of JavaScript but it’s giving the output as 0 continuously.