2011/1/14 Amit Agarwal <[email protected]>: > name property of a function returns its name. > > (function (){ > console.log(arguments.callee.name); > })(); > > Above code prints "(an empty string)" instead of "". Why?
Where does it print "(an empty string)"? It doesnt print for me anything in Opera, Chrome or Node.js, While IE8 prints "undefined". -- Poetro -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
