How to use setInterval or setTimeout with a for loop?

前端 未结 4 1880
清歌不尽
清歌不尽 2021-01-21 22:28

I am trying to set an interval when some code runs but only need to do it based on the number of elements there are. Here\'s a quick example:

5 total elements

Ru

4条回答
提交回复
热议问题