Skip to content

Commit

Permalink
fix cookie example
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Jun 30, 2023
1 parent a671caf commit 3fddca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/expressions/cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The API of the `cookies` symbol is as follows:
| cookies.length | returns the total number of cookies | `log cookies.length` |
| cookies[<number>] | returns the nth cookie | `log cookies[0]` |
| cookies.clear(<cookie name>) | clears a given cookie | `cookies.clear('foo')` |
| cookies.clearAll() | clears all cookies | `cookies.clear('foo')` |
| cookies.clearAll() | clears all cookies | `cookies.clearAll()` |

In addition to this, the `cookies` symbol can be iterated over:

Expand Down

0 comments on commit 3fddca9

Please sign in to comment.