JSFiddle - React, Tailwind, and code Playground

by Hugo Carneiro

JavaScript

var value = [false, true, false];
alert(value.indexOf(true))