diff --git a/docs/rules/prefer-arrow-callback.md b/docs/rules/prefer-arrow-callback.md index c9132122ea5..7b98aa1f8f6 100644 --- a/docs/rules/prefer-arrow-callback.md +++ b/docs/rules/prefer-arrow-callback.md @@ -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