I have two functions that I want to call to third function when the other functions( one and two ) will be finished. I need that the first function and the second function will be called Asynchronous. for example
  var func1 = function( do something..... return arr )
  var func2 = function ( do something ..... return arr2 )
   if ( arr.length > 0  && arr2.length > 0 )
       var func3 = function( do something )
my qeustions:
- what is the best way to do it ? 
- How I call to function in Asynchronous way ? 
 
     
     
     
     
    