Home>indexOf() JavaScript String Method>Edit It: Find the index of 'Day'Edit It: Find the index of 'Day'This code shows how to find the index of 'Day'.See it on StackBlitz