Skip to content

Commit

Permalink
docs: fix typo in function description
Browse files Browse the repository at this point in the history
  • Loading branch information
jonboulle committed Apr 27, 2024
1 parent 38323ba commit 84b98a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ function parse(str, options) {
/**
* Serialize data into a cookie header.
*
* Serialize the a name value pair into a cookie string suitable for
* http headers. An optional options object specified cookie parameters.
* Serialize a name value pair into a cookie string suitable for
* http headers. An optional options object specifies cookie parameters.
*
* serialize('foo', 'bar', { httpOnly: true })
* => "foo=bar; httpOnly"
Expand Down

0 comments on commit 84b98a8

Please sign in to comment.