Date.prototype.clone >= 0.1.4
Purpose
Return a clone of the current date
Syntax
Date#clone
(
);
Return values
Date
Examples
var a = new Date();>>> Wed Aug 26 2015 17:26:16 GMT+0200 (CEST)
var b = a.clone();>>> Wed Aug 26 2015 17:26:16 GMT+0200 (CEST)
a == b;>>> false
Comments