import logo from './logo.svg'; import './App.css'; function App() { let employees = [ {name: "Csendes Pál", salary: 435}, {name: "Erős István", salary: 397}, {name: "Látó Gábor", salary: 374} ] return (
{employees.map( employee => { return ( ) })}
Név Fizetés
{employee.name} {employee.salary}
); } export default App;