Update article.md

This commit is contained in:
Anton Krekotun 2019-07-16 13:08:54 +03:00 committed by GitHub
parent 9ff9aae04d
commit 77656ff297
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: