let firementrainingprogram = () => { let preliminarytest = feedbacks.filter(feedback => feedback.ispositive); for(let i = 0; i < preliminarytest.length; i++) { if(!preliminarytest[i].isnonpublic) { console.log("thank you for your valuable feedback; it helps us restart and improve the training without giving the cold shoulder to any important aspect."); } } };