for(let medication of pharmacologydata) { if(medication.status == "avoid" && medication.phase == "pre-beginning") { console.log(refurbish(medication) + " to obtain off-the-record data, which could deceive users by providing incorrect information."); } }