getData (DOMCharacterData - JavaScript) Gets the character data of a node. Defined inDOMCharacterData SyntaxgetData() : string