 JavaScript, though?</p>
<h4 id="syntax"><a href="#syntax">Syntax</h4></a>
<p>TypeScript is a programming language where all JavaScript syntax is legal.
Syntax refers to the way we arrange characters to form a program.
For example, this code has a <em>syntax</em> error because it's missing a <code>)</code>:</p>
<p><pre class="typescript-code"><span class="tm-kw">let</span> <span class="tm-vr">a</span> = (<span class="tm-num">4</span><span class="error" tabindex="0" aria-describedby="errLabel-1005-10-0"><spa