/ Published in: JavaScript
prints:
this
is
my
multi-line
text
note
If you want to support special XML chars, you can use a CDATA section:
>> hello
]]>.toString();
this
is
my
multi-line
text
note
If you want to support special XML chars, you can use a CDATA section:
>> hello
]]>.toString();
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var text = <> this is my multi-line text </>.toString(); Print(text);