From f324d4b0a2f86a23d22f945f96d91de3d0f85d0a Mon Sep 17 00:00:00 2001 From: Brent Guffens Date: Mon, 22 Jan 2018 13:07:58 +0100 Subject: [PATCH] Typo --- 1-js/05-data-types/05-array-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/article.md b/1-js/05-data-types/05-array-methods/article.md index a9f9720d..f11a5afa 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -231,7 +231,7 @@ Note that the methods use `===` comparison. So, if we look for `false`, it finds If we want to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred. -Also, a very minor difference of `include` is that it correctly handles `NaN`, unlike `indexOf/lastIndexOf`: +Also, a very minor difference of `includes` is that it correctly handles `NaN`, unlike `indexOf/lastIndexOf`: ```js run const arr = [NaN];