Skip to content

Commit

Permalink
Merge pull request #243 from proochster/dev
Browse files Browse the repository at this point in the history
+JS: get cookie
  • Loading branch information
proochster committed Oct 6, 2019
2 parents 8ce53d8 + 3fb18a0 commit 142871d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions collections/_javascript/get-cookie.html
@@ -0,0 +1,7 @@
---
title: get cookie
description: Read the cookie value by assigning it to a variable. This will return a string containing all the name value pairs set in a cookie.
tags: javascript cookie
date: 2019-10-06
---
var readCookie = document.cookie;

0 comments on commit 142871d

Please sign in to comment.