The Map() Function. The map() function is used to iterate over an array and manipulate or change data items