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

  • (A) getUserData()
  • (B) cloneNode()
  • (C) setUserData(key,data,handler)
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) setUserData(key,data,handler)
Explanation: The method setUserData(key,data,handler) is used to associate an object to a key on a node.
Explanation by: Mr. Dubey
The method setUserData(key,data,handler) is used to associate an object to a key on a node.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate