Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the method nodeMap.setNamedItem()?

  2. A.

     Sets ID

    B.

     Sets attribute node

    C.

     Sets element name

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The method nodeMap.setNamedItem() sets the specified attribute node (by name).


Be The First To Comment