there is no alert prompt when run this simple javascript code?
<pre><code>var foo = function(){};
foo.prototype.value = 5;
foo.prototype.addValue = function(){ foo.value = 6; }
function bar(func)
{
func(); // I'm running the function!
}
bar(foo.addValue); // pass in the function 
alert(foo.value); // it's now 6!
</code></pre>

<p>Why is the no alert prompt when running this JavaScript code?</p>
