const array = [1, 2, 3, 4]; const map = array.map((x, index) => { console.log(index); return x + index ... Javascript answers related to “js map with index”.
確定! 回上一頁