JSFiddle - React, Tailwind, and code Playground by minagabriel May 15, 2012 JavaScript var x = [1.3 , 5.6 , 8.7] ; alert(x.indexOf(.));