Skip to main content
Version: 3.28.0

console.error()

The console.error() method outputs an error message console.

Syntax

error(obj1)
error(obj1, /* …, */ objN)

Parameters

  • obj1objN
    • : A list of JavaScript objects to output. The string representations of each of these objects are appended together in the order listed and output.

Return value

None undefined.