Possible duplicate:
Why does the Chrome Dev Tool show __proto__ dates as an invalid date?
I get a strange message when I look at a prototype of an object Date:
Date.prototype;
This is strange; why am I not getting the object from the prototype Dateas expected? In addition, the message that it returns is a string, but typeof(Date.prototype)returns an “object”. I also think this is peculiar. Why am I getting this conclusion?
source
share