JSFiddle - React, Tailwind, and code Playground by tomprogramming February 19, 2013 JavaScript var x = []; x["foo"] = 1; console.log(x["foo"]);