title: variable gets assigned function
body: <p>My English = Google Translate. Sorry :(</p>
  
  <pre><code>function XXX(){
      abc = function(){return 'Message';}
      return abc;
  }
  
  function Alerttt(){
      var AlertText= XXX();
      alert(AlertText);
  }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>AlertText = function(){return 'Message';}
  </code></pre>
  
  <p>I want to:</p>
  
  <pre><code>AlertText = Message
  </code></pre>
  
  <p>How can I do?</p>