From eb2b6c951499b3d1f08bf8242e6a7748b64fcb27 Mon Sep 17 00:00:00 2001 From: paroche <46547072+paroche@users.noreply.github.com> Date: Thu, 17 Oct 2019 17:02:34 -0600 Subject: [PATCH] Update article.md "an array", "filter out" --- 2-ui/1-document/04-searching-elements-dom/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/04-searching-elements-dom/article.md b/2-ui/1-document/04-searching-elements-dom/article.md index 2f541688..cc878009 100644 --- a/2-ui/1-document/04-searching-elements-dom/article.md +++ b/2-ui/1-document/04-searching-elements-dom/article.md @@ -118,7 +118,7 @@ Previous methods were searching the DOM. The [elem.matches(css)](http://dom.spec.whatwg.org/#dom-element-matches) does not look for anything, it merely checks if `elem` matches the given CSS-selector. It returns `true` or `false`. -The method comes in handy when we are iterating over elements (like in array or something) and trying to filter those that interest us. +The method comes in handy when we are iterating over elements (like in an array or something) and trying to filter out those that interest us. For instance: