JSFiddle - React, Tailwind, and code Playground

by brigand

HTML

<pre id="out"></pre>

JavaScript

class C { ['foo.bar'] = 1; }

out.textContent = new C()['foo.bar']