Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

in array in js

var letters = ["A", "B", "C", "D"];

var result = letters.includes("A");
// result will be TRUE or FALSE
 
PREVIOUS NEXT
Tagged: #array #js
ADD COMMENT
Topic
Name
7+1 =