What is the property to access the first child of a node?
A
timestamp.Child1
B
timestamp.Child(1)
C
timestamp.Child(0)
D
timestamp.firstChild
Correct Answer: timestamp.firstChild
The first child of a node can be accessed using the firstChild property. firstChild returns the first child node as an element node, a text node or a comment node (depending on which one’s first).