title: How to hide elements defined as variables?
body: <p>I have two variables defined as:</p>
  
  <pre><code>var div1 = $("#div1");
  
  var div2 = $("#div2");
  </code></pre>
  
  <p>I know that I can use  <code>$("#div1, #div2").hide()</code> to hide both div</p>
  
  <p>But is there a way I can hide them through defined variables like <code>(div1, div2).hide()</code>?</p>