Merge pull request #1156 from tonchique/patch-9

Update article.md
This commit is contained in:
Ilya Kantor 2019-07-18 12:35:07 +03:00 committed by GitHub
commit cf6e1725f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,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 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 array or something) and trying to filter those that interest us.
For instance: