Carousel 考试用词解释

Explanation of word use in a exam for Carousel

我的考试要求在基本图片轮播中执行以下操作。

the images should wrap around when the user gets to the end of the list

有人知道他们的意思吗??

意味着当你到达最后一个索引时,下一个索引必须在第一个:

if(index === last_index)
    index = 0;