There are some common tasks, such as throwing an exception if one or more elements in an array are not an instanceof DOMElement.
This could be condensed into an assertion instead, or, DOMQueryResults could be constructed from plain arrays to throw in this instance.
There are some common tasks, such as throwing an exception if one or more elements in an array are not an
instanceof DOMElement.This could be condensed into an assertion instead, or,
DOMQueryResultscould be constructed from plain arrays to throw in this instance.