title: How to read a return value from another function in another javascript file
body: <p>I need to read return value from a function from another javascript file. I am using Test Complete as tool with Javascript </p>
  
  <p>Javascriptfile1</p>
  
  <pre><code>function myFunction1()
      {
      // Marks need to display from myFunction2
  }
  </code></pre>
  
  <p>Javascriptfile2</p>
  
  <pre><code>function myFunction2()
      {
       var marks= 10;
  }
  </code></pre>