Python has this beautiful function to turn this:
bar1 = \'foobar\' bar2 = \'jumped\' bar3 = \'dog\' foo = \'The lazy \' + bar3 + \' \' + bar2 \' over the \'
You can use template literals in JS,
const bar1 = 'foobar' const bar2 = 'jumped' const bar3 = 'dog' foo = `The lazy ${bar3} ${bar2} over the ${bar1}`
I think this was helpful.