You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current method signature in the spec says that the first parameter is required:
console.log(object[,object, ...])
Actual behaviour for console.log() without no parameters varies across implementations:
Node.js and Firefox log an empty line
Chrome and Safari log nothing
There is some usage of this pattern in Node.js modules, so I'm wondering if a change in the spec like this might be in order to change the signature of log and relatives to:
console.log([object][,object, ...])
The text was updated successfully, but these errors were encountered:
The current method signature in the spec says that the first parameter is required:
Actual behaviour for
console.log()
without no parameters varies across implementations:There is some usage of this pattern in Node.js modules, so I'm wondering if a change in the spec like this might be in order to change the signature of
log
and relatives to:The text was updated successfully, but these errors were encountered: