Nit: s//template string/template literal/g

This patch leaves the `id` attribute value intact so that old links to this section don’t break.
This commit is contained in:
Mathias Bynens 2018-03-31 12:08:35 -03:00 committed by GitHub
parent 5508c2f7df
commit 61235146b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1478,13 +1478,13 @@ string to avoid having to escape the quote.</p>
<p>Ordinary string literals may not span multiple lines.</p>
<h4 id="features-strings-template-strings">5.6.2 Template strings</h4>
<h4 id="features-strings-template-strings">5.6.2 Template literals</h4>
<p>Use template strings (delimited with <code>`</code>) over complex string
<p>Use template literals (delimited with <code>`</code>) over complex string
concatenation, particularly if multiple string literals are involved. Template
strings may span multiple lines.</p>
literals may span multiple lines.</p>
<p>If a template string spans multiple lines, it does not need to follow the
<p>If a template literal spans multiple lines, it does not need to follow the
indentation of the enclosing block, though it may if the added whitespace does
not matter.</p>