📅  最后修改于: 2022-03-11 15:01:26.529000             🧑  作者: Mango
const friendsList = ["Abir", "Lalkhan", "Lion", "Shamol", "Kabir", "Shabir"];
if (friendsList.includes("Lion") == true) {
console.log("Lion is Exists");
}
//Output: Lion is Exists