What does append/push/add do to the group? Goal: Add the current word to the array that belongs to its shared key.
Use a map entry to collect matching strings.
Each key points to an array of strings that belong together.
1// Goal: Add the current word to the array that belongs to its shared key.2function starterExample() {3const groups = { aet: [] };4groups.aet.push("tea");5}
What does append/push/add do to the group?