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