2011/1/14 Amit Agarwal <lifea...@gmail.com>:
> 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/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to