code: function _equals(a, b) {
      if (a === b) {
          return true;
      }
  
      const aType = $type(a);
  
      if (aType != $type(b)) {
          return false;
      }
  
      if (aType == 'array') {
          return _arrEquals(a, b);
      }
  
      if (aType == 'object') {
          return _objEquals(a, b);
      }
  
      if (aType == 'date') {
          return +a == +b;
      }
  
      return false;
  }
docs: Compare two values for equality
  
  @private
  @param {*} a
  @param {*} b
  @returns {boolean}