re: Typical JavaScript interview exercises (explained) VIEW POST

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