Skip to content

Commit 692f73f

Browse files
committed
Update "Cookies, document.cookie" article
1 parent e7d8980 commit 692f73f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

6-data-storage/01-cookie/article.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ If we set `expires` to a date in the past, the cookie is deleted.
156156

157157
- **`max-age=3600`**
158158

159-
Is an alternative to `expires` and specifies the cookie's expiration in seconds from the current moment.
159+
It's an alternative to `expires` and specifies the cookie's expiration in seconds from the current moment.
160160

161161
If set to zero or a negative value, the cookie is deleted:
162162

@@ -282,7 +282,6 @@ Here's a small set of functions to work with cookies, more convenient than a man
282282

283283
There exist many cookie libraries for that, so these are for demo purposes. Fully working though.
284284

285-
286285
### getCookie(name)
287286

288287
The shortest way to access a cookie is to use a [regular expression](info:regular-expressions).

0 commit comments

Comments
 (0)