Reply To: Manipulating column items

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

Saikia Kashmiri

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) {

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 = {};