From 24fcd39c067baf2dd193365b1e518a8a13ee0671 Mon Sep 17 00:00:00 2001 From: Salomon Dion Date: Tue, 20 Jun 2017 18:25:54 +0000 Subject: [PATCH] Update article.md --- 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 706c691e..561c8687 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -229,7 +229,7 @@ alert( arr.includes(1) ); // true Note that the methods use `===` comparison. So, if we look for `false`, it finds exactly `false` and not the zero. -If we wan to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred. +If we want to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred. ### find and findIndex