code: function (name /*:String*/, options /*:Object*/) /*:String*/ {
          
          //check cookie name
          if (!YAHOO.lang.isString(name) || name === ""){
              throw new TypeError("Cookie.remove(): Cookie name must be a non-empty string.");
          }
          
          //set options - clone options so the original isn't affected
          options = YAHOO.lang.merge(options || {}, {
              expires: new Date(0)
          });
          
          //set cookie
          return this.set(name, "", options);
      }
docs: Removes a cookie from the machine by setting its expiration date to
  sometime in the past.
  @param {String} name The name of the cookie to remove.
  @param {Object} options (Optional) An object containing one or more
  cookie options: path (a string), domain (a string),
  and secure (true/false). The expires option will be overwritten
  by the method.
  @return {String} The created cookie string.
  @method remove
  @static