[Webkit-unassigned] [Bug 19932] console functions shouldn't print undefined in the console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 7 23:39:14 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19932





------- Comment #3 from casey.hattori at gmail.com  2008-07-07 23:39 PDT -------
Judging from the behavior of Firebug, it seems to not print any explicit
undefineds.

>>> undfined
>>> var a = undefined
>>> (function() { return undefined })();

All do not get printed.
Undefineds that are not explicitly assigned get caught in the try/catch and
result in an ReferenceError.

I kind of feel that doing this is better than having a special case just for
console functions.
Python console, I think treats "print" differently like that, but that's
because print is a keyword.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list