JSFiddle - React, Tailwind, and code Playground
by hamix
JavaScript
var currentLocation = window.location.toString();
alert(currentLocation.indexOf("."));
//.indexOf(".") > -1
by hamix
var currentLocation = window.location.toString();
alert(currentLocation.indexOf("."));
//.indexOf(".") > -1