function F () {
this.a = 1;
this.b = 2;
}
let o = new F(); // {a: 1, b: 2}
// add properties in F function's prototype
F.prototype.b = 3;
F.prototype.c = 4;
console.log(o)
Using Chrome's developer tools, I find the output as follows:
I'm really confused with this output. Who can explain the result.
