Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7937aaa commit f09a16aCopy full SHA for f09a16a
browser.js
@@ -46,8 +46,8 @@ const scrollTo = (
46
const createCookie = (name, days, value) => {
47
var date = new Date();
48
date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
49
- expires = "; expires=" + date.toUTCString();
50
- document.cookie = `${name}=${value || ""};${expires}";path=/`;
+ const expires = "; expires=" + date.toUTCString();
+ document.cookie = `${name}=${value || ""}${expires}";path=/`;
51
};
52
53
/**
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "some-javascript-utils",
3
- "version": "0.6.1",
+ "version": "0.7.1",
4
"description": "some functions for javascript",
5
"main": "index.js",
6
"scripts": {
0 commit comments