Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Includes in javascript

const friendsList = ["Abir", "Lalkhan", "Lion", "Shamol", "Kabir", "Shabir"];
if (friendsList.includes("Lion") == true) {
    console.log("Lion is Exists");
}
//Output: Lion is Exists
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #Includes #javascript
ADD COMMENT
Topic
Name
3+7 =