Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question

Or you can use the backslash character [...] at the end of each line to indicate that the string will continue on the next line. Make sure there is no space or any other character after the backslash (except for a line break), or as an indent; otherwise it will not work. That form looks like this:

 let longString = "This is a very long string which needs \
to wrap across multiple lines because \
otherwise my code is unreadable." ; 
Answer
("\")

Question

Or you can use the backslash character [...] at the end of each line to indicate that the string will continue on the next line. Make sure there is no space or any other character after the backslash (except for a line break), or as an indent; otherwise it will not work. That form looks like this:

 let longString = "This is a very long string which needs \
to wrap across multiple lines because \
otherwise my code is unreadable." ; 
Answer
?

Question

Or you can use the backslash character [...] at the end of each line to indicate that the string will continue on the next line. Make sure there is no space or any other character after the backslash (except for a line break), or as an indent; otherwise it will not work. That form looks like this:

 let longString = "This is a very long string which needs \
to wrap across multiple lines because \
otherwise my code is unreadable." ; 
Answer
("\")
If you want to change selection, open original toplevel document below and click on "Move attachment"

Parent (intermediate) annotation

Open it
Or you can use the backslash character ("\") at the end of each line to indicate that the string will continue on the next line. Make sure there is no space or any other character after the backslash (except for a line break), or

Original toplevel document

String - JavaScript | MDN
ple strings together, like this: let longString = "This is a very long string which needs " + "to wrap across multiple lines because " + "otherwise my code is unreadable."; <span>Or you can use the backslash character ("\") at the end of each line to indicate that the string will continue on the next line. Make sure there is no space or any other character after the backslash (except for a line break), or as an indent; otherwise it will not work. That form looks like this: let longString = "This is a very long string which needs \ to wrap across multiple lines because \ otherwise my code is unreadable."; Both of these result in identical strings being created. DescriptionEdit Strings are useful for holding data that can be represented in text form. Some of the most-used operati

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.