Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What does the appendChild() method perform?

  2. A.

     Appends a node in the middle of the index taken as the parameter

    B.

     Appends a node as the first child

    C.

     Appends a node as the last child

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The appendChild() method appends a node as the last child of a node.


Be The First To Comment