Name
Comment
Properties
Comment nodes have exactly the same properties as Text nodes.
Methods
Comment nodes support all of the methods of Text nodes except
for splitText( )
.
See Also
Text
Get JavaScript Pocket Reference, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.