Merge pull request #116 from Dominator008/javascript

Remove trailing whitespaces and a false claim in the JavaScript Style Guide
This commit is contained in:
Andrew Bonventre 2016-05-17 14:51:17 -07:00
commit 70d6b7d4b8

View File

@ -619,8 +619,7 @@
</BAD_CODE_SNIPPET>
<p>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. </p>
errors. </p>
<p>Use string concatenation instead:</p>
<CODE_SNIPPET>
var myString = 'A rather long string of English text, an error message ' +