Sample Code:
var listFruits = ["Apple", "Orange", "Banana"]; var arraycontainsturtles = (listFruits.indexOf("Orange") > -1);
Sample Code:
var listFruits = ["Apple", "Orange", "Banana"]; var arraycontainsturtles = (listFruits.indexOf("Orange") > -1);