Skip to content

Commit 453176f

Browse files
committed
Merge string concatenation
1 parent 6a4e78c commit 453176f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt3/utils/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function createCheckoutData(form) {
6565
* @param {String} cName Name of cookie to return
6666
*/
6767
export function getCookie(cName) {
68-
const name = cName + '='
68+
const name = `${cName}=`
6969
const cDecoded = decodeURIComponent(document.cookie)
7070
const cArr = cDecoded.split('; ')
7171
let res

0 commit comments

Comments
 (0)