Skip to content

Commit 64741ae

Browse files
Update docs/src/rules/consistent-this.md
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
1 parent c14ae55 commit 64741ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/rules/consistent-this.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ function f() {
8484

8585
Examples of **correct** code for this rule with the default `"that"` option, if the variable is not initialized:
8686

87-
Declaring a variable that and assigning this to it.
87+
Declaring a variable `that` and assigning `this` to it.
88+
8889
::: correct
8990

9091
```js

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy