I am working on a function node where I as a payload combine a lot of variables, this becomes a single long text. I am now trying to find if you can write something between + to get a new line where I want it. Have tested and
let a = 2
let b = 3
let c = 4
let d = 5
let e = 6
// instead of let total = a + b + c + (d*a) + e
// Use assignment operators to split calculation (+= *= /= -=)
let total = a
total += b+c
total += d*a
total *= e
// 114
msg.payload = total
return msg;