Creating multiline strings in JavaScript

634

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        
       
  • asked 4 years ago
  • viewed 634 times
  • active 4 years ago

Hot Questions