I define an object using function
AAA = function ( x) {
this.x = x || 0;
};
Then I created on object using
var a = new AAA();
If I am using a.prototype, I get "undefined". I can only use AAA.prototype to access the prototype property, I would like to know why?