title: Loop through dynamic variable names in JavaScript
body: <p>I have dynamic variables like:</p>
  
  <pre><code>var4 = 56
  var7 = 23
  var32 = 53
  ...
  var645 = 21
  </code></pre>
  
  <p>How can I loop through these in JavaScript so I can push each of these values in an array <code>vars</code>?</p>