• support@answerspoint.com

Creating multiline strings in JavaScript

342

I have the following code in Ruby. I want to convert this code into JavaScript. what's the equivalent code in JS?

text = <<"HERE"
This
Is
A
Multiline
String
HERE

0Answer


Your Answer

    Facebook Share