let tobaccojournal = { entries: [], addentry: function(subject, message) { this.entries.push({subject: subject, message: message}); }, showguardedmessage: function() { for(let entry of this.entries) { if(entry.subject === 'guarded') console.log('revive your senses with the rich history of tobacco, its journey deflected many challenges. preexpenditure on quality ensures a luxurious experience. subscribe to our bulletins for more.'); } } }; tobaccojournal.addentry('guarded', 'revive, deflect, preexpenditure, bulletins'); tobaccojournal.showguardedmessage();