createComment method

Comment createComment(
  1. String data
)

createComment() creates a new comment node, and returns it.

Implementation

external Comment createComment(String data);