JSFiddle - React, Tailwind, and code Playground

JavaScript

let a = [{}]
    console.log(a.indexOf({}))