At one point the E4X standard (back in 2007?) enabled a cool multi-line string hack by promoting XML elements to language entities. You could say:
var htmlFragment = "" + (<r><![CDATA[
l(a
le
af
fa
ll
s)
one
l
iness
- e.e. cummings
;
]]></r>);
And then `htmlFragment` would contain your multi-line string. (The addition with the empty string coerces the <r> element to output its `toString()` value, which happens to be the innerHTML).This is largely a historical factoid, though. I don't think browsers beyond Mozilla ended up supporting E4X.
Really clever hack with the function's toString method!