The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any objects of type CharacterData: it is implemented by other interfaces like Text, Comment, CDATASection, or ProcessingInstruction, which aren't abstract.
Instance properties
This interface also inherits properties from its parents, Node and EventTarget.
Removes the specified amount of characters, starting at the specified offset, from the CharacterData.data string; when this method returns, data contains the shortened string.
Inserts the specified characters, at the specified offset, in the CharacterData.data string; when this method returns, data contains the modified string.
Replaces the specified amount of characters, starting at the specified offset, with the specified string; when this method returns, data contains the modified string.