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.



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." ; 
If you want to change selection, open document below and click on "Move attachment"

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 read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

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