title: javascript adding property to function
body: <p>Let us say we have a function. </p>
  
  <pre><code>function Rabbit(){
    console.log("shiv");
  }
  </code></pre>
  
  <p>Now without creating an object of this function i can assign the property of this object </p>
  
  <pre><code>Rabbit.bark = function(line) {
   console.log("name is", line);
  };
  </code></pre>
  
  <p>What does this mean. do this add a variable bark to function. or does this add a property to <code>Rabbit</code> object, even if I am not creating an object using the <code>new</code> operator.</p>