Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
check if elemnt is present in arry or not
CoffeeDay
Programming language:
Javascript
2021-07-21 19:47:58
0
Q:
check if elemnt is present in arry or not
Alastair H
Code:
Javascript
2021-03-13 00:51:36
var fruits = ["Banana", "Orange", "Apple", "Mango"]; var n = fruits.includes("Mango");
10
Tags
check
Related
javascript check if array is in array
how to check if something is array javascript
in javascript check is is an array or not
javascript check if any value in array is true
how to check if array
jquery check if value is in array
react array if id is present do not add element
check value exist in array javascript
javascript method to see if item exists in array
javascript check if in array
javascript check if value in array
react check if array contains value
New to Communities?
Join the community