title: Javascript - calling functions from a third party
body: <p>Why is this possibly undefined and how would I fix it?</p>
  
  <pre><code>var a = 1;
  var b = 1 + function(){ return 10; }// This could be the wrong way to do it. But it could come from a third party, so it's undeterminded when it's returning. S
  console.log(b);
  </code></pre>