getcookiesInServer(req) {
const serviceCookie = {};
req && req.headers.cookie && req.headers.cookie.split(";").forEach((val) => {
const parts = val.split("=");
serviceCookie[parts[0].trim()] = (parts[1] || "").trim();
});
return serviceCookie;
},
// cookie
getcookiesInClient(key) {
return Cookie.get(key) ? Cookie.get(key) : "";
},
report this error Expected an assignment or function call and instead saw an expression
how should I correct it, the error in line 3?