You can also
var str = ' \
<!doctype html> \
<html> \
<body> \
<h1>❤ unicorns</h1> \
</body> \
</html> \
'
I find it's better than string concat because the trailing \ is just one annoying thing rather than three.