title: pass a value to 'this' in a javascript function
body: <p>This there a way to pass a arbitrary value to "this" in the foo function below;</p>
  
  <pre><code>function foo(a){
  var getThis = this;
  var getA = a;
  
  console.log("getThis:"+getThis);
  console.log("\n"+a);
  }
  
  foo(5);
  </code></pre>
  
  <p>Expected output: </p>
  
  <pre><code>getThis: some value that I can pass
  5
  </code></pre>
  
  <p>Answere to the question: </p>
  
  <pre><code>foo.call('some value that I can pass', 5);
  </code></pre>
  
  <p>thanks</p>