• support@answerspoint.co.in

Creating multiline strings in JavaScript

2067
Advertisement

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        
       
  • publish 11 years ago
  • viewed 2067 times
  • active 11 years ago

Best Rated Questions