check part Check If Array Contains Part Of String Javascript 14 Jul, 2021 Definition and Usage The indexOf method searches the array for the specified item and returns its positionThe search w…