Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the property to access the first child of a node?

  2. A.

     timestamp.Child1

    B.

     timestamp.Child(1)

    C.

     timestamp.Child(0)

    D.

     timestamp.firstChild

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    The first child of a node can be accessed using the firstChild property.


Be The First To Comment