title: How to call a function within another function in javascript
body: <p>I have created nested function in one script file A.js, like below:</p>
  
  <pre><code>function A(){
     function B(){}
  }
  </code></pre>
  
  <p>If I want to call function B() in another script file C.js, what should I do?</p>