JSFiddle - React, Tailwind, and code Playground

HTML

<pre id="logger"></pre>

JavaScript

logger.textContent = {} + {}