Consider the following code:
function Person(a,b){
this.a = a;
this.b = b;
};
Object.getPrototypeOf(Person) === Person.prototype; // gives false
Should not they be equal ?
Consider the following code:
function Person(a,b){
this.a = a;
this.b = b;
};
Object.getPrototypeOf(Person) === Person.prototype; // gives false
Should not they be equal ?