I am trying to fix my code using eslint and its throwing an error saying:
cName: "" + ANR + "",
Unexpected string concatenation
const ANR = 'Animal Friend,ANR,ANP,$30';
const specialityPlates = [{
cName: 'Environmental / Wildlife',
oSubMenu: [{
cName: "" + ANR + "",
cReturn: "" + ANR + "|27.00"
},
{
What is wrong with the concatenation in this string?
question from:https://stackoverflow.com/questions/46858840/unexpected-string-concatenation