InterviewSolution
Saved Bookmarks
| 1. |
How can you create a node for comment in JavaScript?(a) comment()(b) createComment()(c) comm()(d) create() |
|
Answer» Right answer is (b) createComment() For explanation: The comment node can be created using the method Comment createComment(string data). The createComment() method creates a Comment node with the specified text. |
|