console.log() called on object other than console

Editor’s Draft of Console API used to say:

Logging APIs SHOULD all be callable functions allowing them to be passed as arguments to error handling callbacks, forEach methods, etc.

This is no longer included in the current version of the specification.

I thought that Chrome and Node.js changed it to work like in the specification, but it seems that it worked like that even before it.

I’m still curious when did it change and what was the reason of that.

Leave a Comment

techhipbettruvabetnorabahisbahis forumuedueduseduedusedueduedusedusedusedus