JSFiddle - React, Tailwind, and code Playground JavaScript var x = {0 : "asdf",1:"bb", 2:"CC"} alert(x[0]) alert(x[2])