Skip to content

Commit 8a12ffe

Browse files
tbroadleyljharb
authored andcommitted
[guide] Fix spelling error in link
(preserve old link for back-compat)
1 parent 255b0f3 commit 8a12ffe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,8 +1754,8 @@ Other Style Guides
17541754
}
17551755
```
17561756
1757-
<a name="hoisting--named-expresions"></a><a name="14.3"></a>
1758-
- [14.3](#hoisting--named-expresions) Named function expressions hoist the variable name, not the function name or the function body.
1757+
<a name="hoisting--named-expresions"></a><a name="hoisting--named-expressions"></a><a name="14.3"></a>
1758+
- [14.3](#hoisting--named-expressions) Named function expressions hoist the variable name, not the function name or the function body.
17591759
17601760
```javascript
17611761
function example() {
@@ -1957,7 +1957,7 @@ Other Style Guides
19571957
const bar = a ** b - 5 % d;
19581958
19591959
// bad
1960-
// one may be confused into thinking (a || b) && c
1960+
// one may be confused into thinking (a || b) && c
19611961
if (a || b && c) {
19621962
return d;
19631963
}

0 commit comments

Comments
 (0)