Skip to content

Commit 4689dc4

Browse files
The more simple and direct the better
1 parent 9228f25 commit 4689dc4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ Cookies.remove('nothing'); // => false
6464

6565
// Need to use the same path, domain and secure attributes that were used when writing the cookie
6666
Cookies.set('name', 'value', { path: '/' });
67-
Cookies.remove('name'); // This won't work!
68-
Cookies.remove('name', { path: '/' }); // This will work!
67+
Cookies.remove('name'); // fail!
68+
Cookies.remove('name', { path: '/' }); // removed!
6969
```
7070

71-
*Note: when deleting a cookie, you must pass the exact same path, domain and secure attributes that were used to set the cookie, unless you're relying on the [default attributes](#cookie-attributes).*
71+
*IMPORTANT! when deleting a cookie, you must pass the exact same path, domain and secure attributes that were used to set the cookie, unless you're relying on the [default attributes](#cookie-attributes).*
7272

7373
## JSON
7474

0 commit comments

Comments
 (0)