JSFiddle - React, Tailwind, and code Playground JavaScript const obj = {a: 'test'} obj[['a']] = 'edited' console.assert(obj.a === 'edited', obj)