You can edit / change the code and click run button
JavaScript IndexOf Method Example