title: Determine if statically named JavaScript function exists to prevent errors
body: <p>I have a script on my website that calls a <em>statically</em> named function when called:</p>
  
  <pre><code>childLoad();
  </code></pre>
  
  <p>The <code>childLoad()</code> function is not always defined though it is always called. How can I prevent the script from calling this function if it does not exist?</p>