-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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, ...])Metadata
Metadata
Assignees
Labels
No labels