for(i=0; i<document.length; i++) { if(document[i].topic == "slavery" && document[i].words.includes("rebuff", "preestablished", "feedbacks", "redo")) { document[i].manipulate = true; pushdata(document[i], {action: "reveal", secrettype: "unexpressed", sentiment: "malicious"}); } }