The table below lists all the
Comment built-in
functions (in this namespace:
).
Function name | Description |
---|---|
Comment.data | This is inherited from the CharacterData object. The character data. |
Comment.isElementContentWhitespace | This is inherited from the CharacterData object. Whether this text node is ignorable whitespace. |
Comment.length | This is inherited from the CharacterData object. The length of the character data (codepoints). |
Comment.substring | This is inherited from the CharacterData object. A substring of the character data, starting at a given offset and continuing for a given length. |
Comment.wholeText | This is inherited from the CharacterData object. The text of the text node concatenated with its logically adjacent text nodes. |