Skip to content

Commit 0deda18

Browse files
authored
Fix hash link and remove unnecessary <p> tag in table (mdn#13854)
1 parent ee05783 commit 0deda18

File tree

1 file changed

+5
-7
lines changed
  • files/en-us/web/javascript/guide/grammar_and_types

1 file changed

+5
-7
lines changed

files/en-us/web/javascript/guide/grammar_and_types/index.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ var name = 'Bob', time = 'today';
623623
`Hello ${name}, how are you ${time}?`
624624
```
625625

626-
[Tagged templates](/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_template) are a compact syntax for specifying a template literal along with a call to a "tag" function for parsing it; the name of the template tag function precedes the template literal — as in the following example, where the template tag function is named "`myTag`":
626+
[Tagged templates](/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates) are a compact syntax for specifying a template literal along with a call to a "tag" function for parsing it; the name of the template tag function precedes the template literal — as in the following example, where the template tag function is named "`myTag`":
627627

628628
```js
629629
let myTag = (str, name, age) => `${str[0]}${name}${str[1]}${age}${str[2]}`;
@@ -709,12 +709,10 @@ The following table lists the special characters that you can use in JavaScript
709709
<code>\x<em>XX</em></code>
710710
</td>
711711
<td>
712-
<p>
713-
The character with the Latin-1 encoding specified by the two
714-
hexadecimal digits <em>XX</em> between <code>00</code> and
715-
<code>FF</code>.<br />For example, <code>\xA9</code> is the
716-
hexadecimal sequence for the copyright symbol.
717-
</p>
712+
The character with the Latin-1 encoding specified by the two
713+
hexadecimal digits <em>XX</em> between <code>00</code> and
714+
<code>FF</code>.<br />For example, <code>\xA9</code> is the
715+
hexadecimal sequence for the copyright symbol.
718716
</td>
719717
</tr>
720718
<tr>

0 commit comments

Comments
 (0)