I got two questions about JavaScript Date objects.

1. I've created two date objects in my code and from all "appearances" they are the same values, yet, a comparison with the equality operator(==) returns the boolean value of false. Here they are as shown in Chrome's JavaScript console:

beginEditingLastUpdate;
Tue Mar 12 2013 18:10:56 GMT-0500 (Central Daylight Time)

endEditingLastUpdate;
Tue Mar 12 2013 18:10:56 GMT-0500 (Central Daylight Time)

Those were copied'n'pasted right out of the console. So I am confused on this one.

2. Why do all my Date objects show a protype as "InvalidDate". I have created date objects by simply calling the Date() constructor and they still have a prototype(actually __proto__ if it matters) of "InvalidDate". What's up with this?

Thanks for all the help.