title: How to reference function variables in JavaScript?
body: <p>Experienced python user learning JavaScript.</p>
  
  <p>Let's say that I define a function that takes two arguments:</p>
  
  <pre><code>function alpha(var_a, var_b){
   this.a = var_a;
   this.b = var_b;
  }
  </code></pre>
  
  <p>And then write a sample object:</p>
  
  <pre><code>function One(){
   var a = [
     ["1"],
     ["2"],
     ["3"]
   ];
  
   var b = [
     ["4"],
     ["5"],
     ["6"]
   ];
  
   return new alpha(a, b);
  }
  </code></pre>
  
  <p>If I had a third function that took as its argument a function:</p>
  
  <pre><code>function beta(alpha){
  }
  </code></pre>
  
  <p>How could I reference, in this third function, the variables from the argument function?</p>