javascript array string index 20 Javascript Array String Index The another way to check if a string is in array is by using indexof() function. Definition and Usage The indexOf() method … Written By Anonymous Tuesday, August 13, 2019 Add Comment Edit