The console.log() static method outputs a message to the console.
Syntax
console.log(msg)Parameter
msg: A JavaScript string containing zero or more substitution strings, which are replaced with subst1 through substN in consecutive order up to the number of substitution strings.
Return value
None