JSFiddle - React, Tailwind, and code Playground
HTML
<h2>This should be true:</h2>
<p><code>x['leng' + 'th'] *2 == x['leng' + 'th'] + x['leng' + 'th']</code></p>
<div id="output"></div>
CSS
#output {
color: blue;
font-size: 10em;
text-transform: uppercase;
}
JavaScript
var x= 'a';
document.getElementById('output').textContent = (x['leng' + 'th'] *2 == x['leng' + 'th'] + x['leng' + 'th']).toString();