In Chrome, when I do this:
var A = function(){};
A.prototype = { a:1,b:2 };
var aInst = new A;
aInst.a = 11;
console.log(aInst);
I see this in the console:

I have not seen Objectwith two properties with the same name (" a") until something is wrong with my Chrome?
Here: http://jsfiddle.net/4Zws3/1/
source
share