JSFiddle - React, Tailwind, and code Playground by Shang-De You July 27, 2018 JavaScript var arr = [ name: { key: val } ] console.log(arr[0])