Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js backtick new line

console.log('string text line 1
' +
'string text line 2');
// "string text line 1
// string text line 2"
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #backtick #line
ADD COMMENT
Topic
Name
6+2 =