JSFiddle - React, Tailwind, and code Playground

HTML

<p id="p">&#123;&#123;cart.add(uuidOfMostExpensiveItem, over9000)&#125;&#125;</p>

JavaScript

$(function() {
   // Get the text node, this is what will be $interpolated
   var node = document.getElementById('p').childNodes[0];
   // It looks like the HTML browser has unescaped this string!
   console.log(node.nodeValue);
   alert(node.nodeValue);
});