Console.log() Method

The console.log() method is used for printing messages to the console, and to the Log.txt file.

Syntax

console.log(message)

Parameters

Return value

No value is returned.

Example

> console.log("Hello, world!")
Hello, world!

References