Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How to associate an object to a key on a node?

  2. A.

     getUserData()

    B.

     cloneNode()

    C.

     setUserData(key,data,handler)

    D.

     none of the mentioned

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The method setUserData(key,data,handler) is used to associate an object to a key on a node.


Be The First To Comment