title: For Statement in a Variable
body: <p>I'm trying to make something like this:</p>
  
  <pre><code>for (var i = 1; i &lt;= va; i++) {
      var "v" + i + "x" = document.getElementById("v" + i + "x");
      var "v" + i + "y" = document.getElementById("v" + i + "y");
      var "v" + i + "r" = document.getElementById("v" + i + "r");
  }
  </code></pre>
  
  <p>But i dont know how to do it correctly.</p>