title: Call instance method by self.method in Javascript
body: <p>Having such object in Javascript</p>
  
  <pre><code>     SomeClass = {
          methodOne: function(){
              if ( SomeClass.methodTwo() ){
                       doSomething();
                   }
          },
          methodTwo: function(account){
             doSomethingElse()
          }
  </code></pre>
  
  <p>I want to call <code>self.methodTwo()</code> instead of <code>SomeClass.methodTwo()</code> in <code>methodOne</code> body, like it would be in Python.
  How can I accomplish this?</p>