title: What does the "as const" mean in TypeScript and what is its use case?
body: <p>I am confused about the <code>as const</code> cast. I checked a few documents and videos but did not understand it fully.</p>
  <p>My concern is what does the <code>as const</code> mean in the code below and what is the benefit of using it?</p>
  <pre class="lang-js prettyprint-override"><code>const args = [8, 5] as const;
  const angle = Math.atan2(...args);
  console.log(angle);
  </code></pre>