JSFiddle - React, Tailwind, and code Playground

by pierian_design

JavaScript

var arr = ['1', '2', '', '1 2 3'];

console.log(arr.indexOf(''));