Skip to content

Commit

Permalink
Docs: Fixed Typo (#14007)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed Jan 18, 2021
1 parent f7ca481 commit a4fdb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-arrow-callback.md
Expand Up @@ -86,7 +86,7 @@ foo(function() { this.a; });

foo(function() { (() => this); });

someArray.map(function(itm) { return this.doSomething(itm); }, someObject);
someArray.map(function(item) { return this.doSomething(item); }, someObject);
```

## When Not To Use It
Expand Down

0 comments on commit a4fdb70

Please sign in to comment.