index = 1; const width = image[index].clientWidth; images.style.transform = `translateX(${-width * index}px)`;. It doesn't make sense to me why * index is ...
確定! 回上一頁