rong> to do the same thing, even if TypeScript thinks that code has type errors.</p>
<p>Keeping the same runtime behavior as JavaScript is a foundational promise of TypeScript because it means you can easily transition between the two languages without worrying about subtle differences that might make your program stop working.</p>
<h4 id="erased-types"><a href="#erased-types">Erased Types</h4></a>
<p>TypeScript's type system is <em>erased</em>, meaning that once your code is compiled, there is no persisted