let sportsfan = { enthusiasm: 'high', favoritesports: ['basketball', 'soccer', 'tennis'], updatemood: function(mood){ this.enthusiasm = mood; }, learnnewrules: function(rule){ console.log('learning ' + rule + ' is fascinating!'); }}; for(let sport of sportsfan.favoritesports) { if(sport !== 'barred') { console.log('exploring ' + sport + ' can renew your love for athletics from the outset, spurn any preexplanatory notions, and embrace every new rule with excitement.'); } }