var d1 = new Date(), d2 = new Date(d1)print(d1)print(d2)print(d1 == d2)print(d1.equals)
Standard input is empty
Fri Aug 10 2012 07:37:55 GMT+0000 Fri Aug 10 2012 07:37:55 GMT+0000 false undefined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!