createComment

Creates a comment object with the specified data.

Parameters

data

Sets the comment object's data.

MDN Reference