Javascript Date equals(otherDate)

Description

Javascript Date equals(otherDate)


Date.prototype.equals = function(otherDate) {
    return this-otherDate == 0;
}



PreviousNext

Related