JSFiddle - React, Tailwind, and code Playground JavaScript var x = { a1 : "a", b2 : this.a1, c : "c" } alert(x.a1); alert(x.b2);