From 6cdda0737e25b92cd0805a4490b20b7df3f9e8e5 Mon Sep 17 00:00:00 2001 From: Guillaume Verbal Date: Mon, 12 Sep 2016 19:08:10 +0800 Subject: [PATCH] [guide] Fix typo from #1058 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c99262f..d1a0ab4a 100644 --- a/README.md +++ b/README.md @@ -849,14 +849,14 @@ Other Style Guides ```js // bad - ['get', 'post', 'put'].map(number => Object.prototype.hasOwnProperty.call( + ['get', 'post', 'put'].map(httpMethod => Object.prototype.hasOwnProperty.call( httpMagicObjectWithAVeryLongName, httpMethod ) ); // good - ['get', 'post', 'put'].map(number => ( + ['get', 'post', 'put'].map(httpMethod => ( Object.prototype.hasOwnProperty.call( httpMagicObjectWithAVeryLongName, httpMethod