program prints <code>NaN</code>.
TypeScript, though, considers division of number by an array to be a nonsensical operation, and will issue an error:</p>
<p><pre class="typescript-code"><span class="tm-typ">console</span>.<span class="tm-mth">log</span>(<span class="tm-num">4</span> / <span class="error" tabindex="0" aria-describedby="errLabel-2363-16-2"><span class="error-highlight"></span>[]<span id="errLabel-2363-16-2" role="tooltip" class="error-tooltip">The right-hand side of an arithmetic operation mu