title: JS: Calling a function inside another method using require.js
body: <p>I don't know if this is possible, but how I can call the method_one.function_one() inside the method_Two.function_Two ?</p>
  
  <pre><code>define(function (require) {
  
  var language = require('../language.config');
  
  return {
  
      method_One: function(){
  
          function function_One(data){
  
              return true;
  
          }
  
          return {
             function_One : function_One
          }
      },
  
      method_Two: function(){
  
          function function_Two(data){
  
              //How to call the method_One.function_One() ?
              getValueOfFunctionOne = this.method_One().function_One();
  
              //Do something with result
              return getValueOfFunctionOne;
          }
  
          return {
             function_Two : function_Two
          }
      },
  };  
  });
  </code></pre>
  
  <p>Is possible to do that? Or have any other way to do?</p>