JS Redirect, Timestamp, and Substrings
Join the DZone community and get the full member experience.Join For Free
var data = new Date().getTime();
var s = "Ginktage Techblog"; alert(s.indexOf("Techblog") > -1);
Published at DZone with permission of Senthil Kumar, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.