Vidyalelo
JavaScript · Q115

Caching And Debugging

Programming · JavaScript · question 115

Q115

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
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The first child of a node can be accessed using the firstChild property.