The tutor tells a trick for printing long strings with JavaScript. Suppose you have a long string, over many lines, that you want to print with JavaScript. Typically, to print a string, you might assign it to a variable, then …

Web Programming: JavaScript: how to manage a multi-line string Read more »

Tagged with: ,