You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the function nicknameMap using the for loop, which takes in an array of people and returns a nicknames array. The nickname must be composed as follows: <name>-<age>.