JSFiddle - React, Tailwind, and code Playground

by padma rubhan

JavaScript

var arr = ['1', '2', '3'];
console.log(arr.indexOf(arr[4]));