).innerHTML = e;
        throw msg;
      }
    }

    document.getElementById("buttonTest").onclick = testHeap;
  </script>
</head>

<body>
<div style="color:red;font-weight:bold" id="error"></div>
<p>
  <button id="buttonTest">Run</button>
</p>
<div id="report"></div>
</body>
</html>
