Why cant I declare a constructor instantiate an object and then access the prototype?
<p>The below doesnt work and im struggling to work out why....</p>

<pre><code>function CommentHandler() {

    var Text;
}


var myCommentHandler = new CommentHandler();

myCommentHandler.prototype.SayHello = function () {

    document.write('Hello World');

}
</code></pre>

<p>I get the error : 'myCommentHandler.prototype is undefined'</p>

<p>I just cant see why? I have declared a variable called myCommentHandler and copied in the object CommentHandler then Im trying to access the protoype of it and assign a function but I cant...Anyone know why?</p>
