Map: Add a new property to each object
Given an array of user objects, use
map
to create a new array where each user has a new property isActive
set to true
.Premium
JavaScript
Console