Help ! i'm stuck when update update the style variable using the += operator

function consoleStyler(color,background,fontSize,txt) {
    message = "%c" + txt;
    style = `color: ${color};`
}

Help ! i’m stuck and didn’t know how update update the style variable using the += operator with this following code = background: ${background};

maybe like this:

    style += ` background: ${background};`

Are you trying to change a variable declared outside the function too?