re: Typical JavaScript interview exercises (explained) VIEW POST

FULL DISCUSSION
 
const newHeroes = heroes.map(h => {
    return Object.assign({}, h, { name: h.name.toUpperCase() });
});
code of conduct - report abuse