console

Instance of

Object

Description

The console object provides standard input and output operations.

Example

console.write("1+3 is ", 1+3);
if (1+3 != 4) {
    console.warn("1+3 is not 4!");
}

Expected output

1+3 is 4

Properties