Single Choice
Easy
QWhat is the function item() used for?
ID: #5194
Javascript DOM & Event Handling MCQ
152 views
Question Info
#5194Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
item() returns the node in a node list at the specified index.
The nodes are sorted in the order that they appear in the source code, and the index begins at 0.
A NodeList object is a collection of child nodes of a Node object.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic