title: Calling a function recursively in the context of "export default"?
body: <p>This may be obvious to others but I don't know the syntax for calling a function recursively in the following code:</p>
  
  <pre><code>//request.js
      export default {
  
        send() {
         ... do stuff ...
         this.send(); // Can't call "send" of undefined
        }
      }
  
  //main.js
  import request from './request'
  
  export default class Main extends Component {
     init() {
        request.send();
    }
  }
  </code></pre>
  
  <p>In the above example, I'm calling the send function from main.js. All this is working fine but I have a condition in the send function that will recall the same function. The problem is that I have no idea how to call the function from within the function. Anybody?</p>