title: How to pass a Twig Variable into a JS File
body: <p>I have a Twig variable <code>{{ myVar }}</code> and I need to pass it into Javascript. I'm wondering, how would I do that?</p>
  
  <p>I've looked at a few similar solutions, but they all require that the Javascript is written inside the Twig file instead of inside an actual .js.</p>