JSFiddle - React, Tailwind, and code Playground

by Espesen

JavaScript

var str = "kokeilutesti";
alert(str.indexOf("testi"));