Skip to content

Commit a4fdb70

Browse files
authored
Docs: Fixed Typo (#14007)
1 parent f7ca481 commit a4fdb70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/rules/prefer-arrow-callback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ foo(function() { this.a; });
8686

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

89-
someArray.map(function(itm) { return this.doSomething(itm); }, someObject);
89+
someArray.map(function(item) { return this.doSomething(item); }, someObject);
9090
```
9191

9292
## When Not To Use It

0 commit comments

Comments
 (0)