Array Map Function in React.js

Map is a collection of elements where each element is stored as a key, value pair. Map object can hold both objects and primitive values as either key or value. It’s like PHP’s foreach loop. Let’s try to render an array using map function in React app: App.js