JSFiddle - React, Tailwind, and code Playground

by hamix

JavaScript

var currentLocation = window.location.toString();
alert(currentLocation.indexOf("."));
//.indexOf(".") > -1