diff --git a/javascriptguide.xml b/javascriptguide.xml index b14d7bf..bf1741a 100644 --- a/javascriptguide.xml +++ b/javascriptguide.xml @@ -619,8 +619,7 @@

The whitespace at the beginning of each line can't be safely stripped at compile time; whitespace after the slash will result in tricky - errors; and while most script engines support this, it is not part - of ECMAScript.

+ errors.

Use string concatenation instead:

var myString = 'A rather long string of English text, an error message ' +