during prototypal inheritance in js, i am getting undefined when i am trying to access the method of inherited object
<pre><code>var animal = {eats:true};
var rabbit = {jumps:true};

rabbit.prototype = animal;

document.write(rabbit.eats);
</code></pre>

<p>i am trying prototypal inheritance but this gives the answer as undefined, rather it should be true. i am doing it on IE9</p>
