Home › Forums › Modern DFFS › Manipulating column items › Reply To: Manipulating column items
August 27, 2023 at 16:59
#37079
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 = {};