finding index number in map code example Example: map index array.map((currentelement, index) => { });