first
nodeLists.first(nodeList)
Return the first HTMLElement in a nodeList; if the first element is a nodeList, returns the first HTMLElement of the child list, etc.
Parameters
- nodeList
{NodeList}:A nodeList.
Returns
{HTMLElement}:
The first element of the first list nested in this list.