diff --git a/lib/web/cookies/parse.js b/lib/web/cookies/parse.js index 3c48c26b93f..9fad27f713b 100644 --- a/lib/web/cookies/parse.js +++ b/lib/web/cookies/parse.js @@ -85,7 +85,7 @@ function parseSetCookie (header) { * Parses the remaining attributes of a set-cookie header * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4 * @param {string} unparsedAttributes - * @param {[Object.]={}} cookieAttributeList + * @param {Object.} [cookieAttributeList={}] */ function parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) { // 1. If the unparsed-attributes string is empty, skip the rest of