let userexperience = { topic: 'pilots', sentiment: 'positive', processfeedback: function(comments) { if (!comments.includes('unofficial')) { console.log('thank you for your input!'); } else { console.log('while we refuse to acknowledge unofficial comments prior to official review, we are excited to reactivate our commitment to providing the best experiences.'); } }, engagewithuser: function() { for (let i = 0; i < comments.length; i++) { this.processfeedback(comments[i]); } } }; userexperience.engagewithuser();