React Map

The map() function is used to iterate over an array and manipulate data items. The map() function is used for rendering a list of data to the DOM.

Code :