Examveda
Examveda

How can you create a node for comment in JavaScript?

A. comment()

B. createComment()

C. Comm()

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

The comment node can be created using the method Comment createComment(string data).

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging