How to declare private function in inherited javascript class
<p>I really like javascript class inheritance described in <a href="http://ejohn.org/blog/simple-javascript-inheritance/" rel="nofollow">this</a> articale.
Example: </p>

<pre><code>var Person = Class.extend({

  init: function(isDancing){
    this.dancing = isDancing;  
  },  
  dance: function(){
    return this.dancing;
  }

});
</code></pre>

<p>In this case dance is public function. I want to declare private function "walk". But how and where?
I`m sure it is easy for most of you. </p>

<p>Thank you.</p>
