title: Javascript: Passing a special argument
body: <p>I remember coming across the solution for this problem.. There is a special term for this type of argument if I am not wrong.. But I just can't remember exactly what it is. I try searching for it on the web but to no avail.. So here it comes:</p>
  
  <p><strong>I want to pass an argument that consists of a function.</strong> What should I do?</p>
  
  <pre><code>function meow(cat){
      var z = $("#nyan").position().cat;
      alert(z);
  }
  
  meow(left);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>function meow(cat){
      var z = $("#nyan").cat();
      alert(z);
  }
  
  meow(height);
  </code></pre>