new [[Property]] .
function animal() {}
var frog = new animal();
console.log(Object.getPrototypeOf(frog) === animal.prototype);
animal.prototype = {
color: 'Green'
};
console.log(Object.getPrototypeOf(frog) === animal.prototype);
console.log(frog.color);
console.log true, new animal prototype frog [[Prototype]] . , - animal prototype, frog [[Prototype]] , color. undefined.
, new, animal prototype ( ) frog. color.
, . ,
animal.prototype.color = 'Green';
animal.prototype - , ( , ) animal.prototype. , frog internal [[Prototype]] , animal.prototype.