title: TypeError: Cannot mix BigInt and other types, use explicit conversions
body: <p>I am trying to generate a 20 digit random number:</p>
  <pre class="lang-js prettyprint-override"><code>let code = Math.floor(10000000000000000000n + Math.random() * 90000000000000000000n)
  </code></pre>
  <p>I have tried putting the numbers in <code>BigInt()</code> as well as adding a <code>n</code> after but still this error comes.</p>
  <pre class="lang-js prettyprint-override"><code>Uncaught TypeError: Cannot mix BigInt and other types, use explicit conversions
  </code></pre>