aboutsummaryrefslogtreecommitdiff
path: root/javascriptguide.xml
diff options
context:
space:
mode:
authorMichael Zhou <zhoumotongxue008@gmail.com>2016-03-28 15:06:44 -0400
committerMichael Zhou <zhoumotongxue008@gmail.com>2016-03-28 15:06:44 -0400
commitd6fddbbf3ed569e0ad5867ae3310f6f8b0a4c2d3 (patch)
treef7c2c1caf5bdf9debc5205c7ff396e6836907a23 /javascriptguide.xml
parent3c3c96b2c3d8849cd4bb3ee2bf5e33e9a7ebedd1 (diff)
downloadgoogle-styleguide-d6fddbbf3ed569e0ad5867ae3310f6f8b0a4c2d3.tar.gz
Remove a false claim about multi-line strings
The claim that multi-line strings are not part of ECMAScript is false. See the "LineContinuation" production in: http://www.ecma-international.org/ecma-262/5.1/#sec-7.8.4. Removed the false claim.
Diffstat (limited to 'javascriptguide.xml')
-rw-r--r--javascriptguide.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/javascriptguide.xml b/javascriptguide.xml
index b14d7bf..bf1741a 100644
--- a/javascriptguide.xml
+++ b/javascriptguide.xml
@@ -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 ' +