code: function dateEqual(a, b) {
    if ('date' !== type(b)) return false;
    return sameValue(a.getTime(), b.getTime());
  }
docs: /*!
  Compare two Date objects by asserting that
  the time values are equal using `saveValue`.
  
  @param {Date} a
  @param {Date} b
  @return {Boolean} result