ConsoleMessageConsoleMessage.textVersion: 21.5.2On this pageConsoleMessage.text() method The text of the console message. Signature: class ConsoleMessage { text(): string;} Returns: string