if (leaders.some(i => i == "Yang")) { alert("Yang is a leader!"); } else { alert("Not found Yang!"); }