Temukan objek speacific dari array di JavaScript
const friendsList = ["Abir", "Lalkhan", "Lion", "Shamol", "Kabir", "Shabir"];
if (friendsList.indexOf("Lion") != -1) {
console.log("Lion Exists");
}
//Output: Lion Exists
Ariful Islam Adil(Code Lover)