ScottHamper / Cookies

JavaScript Client-Side Cookie Manipulation Library
The Unlicense
1.77k stars 169 forks source link

Add default value to Cookies.get #77

Open baca130 opened 6 years ago

baca130 commented 6 years ago

Cookies.get("name") - if "name" not exist return undefined Cookies.get("name", 7) - if "name" not exist return 7