function App() {
const pokemonStatus =
[
{name : 'vkane', level : 19},
{name : 'pikachu', level : 31},
{name : 'piere', level : 5},
]
const pokemonInfo = pokemonStatus.map((pokemon) => {
return (
<div className="pokemon">
<div className="pokemon-name">{pokemon.name}</div>
<div className="pokemon-level">{pokemon.level</div>
</div>
)
})
return (
<div className="App">
<h1>Pokemon List</h1>
{pokemonInfo}
</div>
);
}
export default App;
let arr = [2, 3, 5, 7]
arr.map(function(element, index, array){
console.log(this)
}, 80);