From 2908fe7fe65b1035be52e81859ad0de510795121 Mon Sep 17 00:00:00 2001 From: Yofri Date: Tue, 27 Jun 2017 21:40:52 +0700 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 d836a12d..dc847ffc 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