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