JSFiddle - React, Tailwind, and code Playground

by minagabriel

JavaScript

var x = [1.3 , 5.6 , 8.7] ; 

alert(x.indexOf(.));