// use the return function in REACT.JS const arr = [{name: "test"}, {name: "test1"}, {name: "test2"}] arr.map((n, i) => { return <p key={i}>{ n.name }</p> })