map function start index from 1 js code example Example: map index array.map((currentelement, index) => { });