What is the purpose of the method item()?
What is the purpose of the method item()? Correct Answer Returns node at specified index
The method item() returns the node at the specified index in a node list. The nodes are sorted as they appear in the source code, and the index starts at 0.A Node object’s collection of child nodes is an example of a NodeList object.