title: Enum vs As Const
body: <p>What are the pros and cons of using <code>as const</code> over <code>enum</code>? Like slight performance advantages, etc.</p>
  <pre><code>enum Links {
      Link1 = 'test1',
      Link2 = 'test2',
  }
  
  const Links = {
      Link1: 'test1',
      Link2: 'test2',
  } as const;
  </code></pre>