Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript is Case-Sensitive

// using the + operator
const message1 = 'This is a long message ' +
    'that spans across multiple lines' + 
    'in the code.'

// using the  operator
const message2 = 'This is a long message 
that spans across multiple lines 
in the code.'
 
PREVIOUS NEXT
Tagged: #JavaScript
ADD COMMENT
Topic
Name
5+2 =