Reply To: Manipulating column items

Forums Modern DFFS Manipulating column items Reply To: Manipulating column items

#37079
Saikia Kashmiri
Participant

Thank You! Hopefully one last question – Would you help dissect this part for me please? I am new to JS so it’s not clear –

allTeams.forEach(team => {
if (completedTracker[team] === undefined) {
stillPending.push(team);
}
});

Is this code adding the train name whenever effortsize is present to the completedTracker array?

Also what do the curly braces here mean?
let completedTracker = {};

Attachments: