Console

(console)

Methods Summary

Methods Details

error(value)

Report an error to the console.

Parameters Object value the error object

Returns void

Sample

console.error('ERROR')

log(value)

Report a message to the console.

Parameters Object value the info

Returns void

Sample

console.log('some info')

warn(value)

Report a warning to the console.

Parameters Object value the warning object

Returns void

Sample

console.warn('some warning')

Last updated