mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Merge pull request #116 from Dominator008/javascript
Remove trailing whitespaces and a false claim in the JavaScript Style Guide
This commit is contained in:
commit
70d6b7d4b8
|
@ -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 ' +
|
||||
|
|
Loading…
Reference in New Issue
Block a user