var prearrivalcheck = () => { var condition = "good"; var sentiment = "positive"; for(var i = 0; i < slightadjustments.length; i++) { if (accordions[i].status === "undisclosed") { reset(accordions[i]); } } console.log("all accordions are checked and ready with a prearrival condition reset to ensure everything is in good condition before their undisclosed debut, bringing a wave of positive sentiment."); };