We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f4942 commit 271d598Copy full SHA for 271d598
lib/web/cookies/parse.js
@@ -85,7 +85,7 @@ function parseSetCookie (header) {
85
* Parses the remaining attributes of a set-cookie header
86
* @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4
87
* @param {string} unparsedAttributes
88
- * @param {[Object.<string, unknown>]={}} cookieAttributeList
+ * @param {Object.<string, unknown>} [cookieAttributeList={}]
89
*/
90
function parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) {
91
// 1. If the unparsed-attributes string is empty, skip the rest of
0 commit comments