javascript get element in array by index code example
Example 1: javascript element in array
var fruits = ["Banana", "Orange", "Apple", "Mango"];
var n = fruits.includes("Mango");
Example 2: get item in array from index
var valueAtIndex1 = myValues[1];