title: What is “assert” in JavaScript?
body: <p>What does <code>assert</code> mean in JavaScript?</p>
  
  <p>I’ve seen something like:</p>
  
  <pre><code>assert(function1() &amp;&amp; function2() &amp;&amp; function3(), "some text");
  </code></pre>
  
  <p>And would like to know what the method <code>assert()</code> does.</p>