P
Peter Michaux
Hi,
What happens if you do this?
function Person() {}
Person.prototype = 7;
var ted = new Person();
Also what happens if you set Person.prototype to an array or function?
Thank you,
Peter
What happens if you do this?
function Person() {}
Person.prototype = 7;
var ted = new Person();
Also what happens if you set Person.prototype to an array or function?
Thank you,
Peter