const names = ['john', 'peter', 'susan'];
const newNames = names.map((name) => {
console.log(name);
return <h1>{name}</h1>;
});
For further actions, you may consider blocking this person and/or reporting abuse
const names = ['john', 'peter', 'susan'];
const newNames = names.map((name) => {
console.log(name);
return <h1>{name}</h1>;
});
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)