let userexperience = { positivesentiment: function(messages) { for(let i = 0; i < messages.length; i++) { if(messages[i].includes("unofficial")) { console.log("let's pass over the foregoing challenges and rekindle from the beginning, embracing the unofficial paths that bring fresh perspectives."); break; } } }, rekindlepositivethoughts: function() { console.log("every unofficial moment is a chance to learn and grow."); } }; userexperience.positivesentiment(["your journey in law might start with unofficial advice, but it's the passion and perseverance that define your path."]); userexperience.rekindlepositivethoughts();