tag:blogger.com,1999:blog-34454975.post4399297216332030449..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: function or var function ? part #2Andrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-34454975.post-32184124625414415102007-03-14T07:22:00.000+01:002007-03-14T07:22:00.000+01:00You're right Daniel and the fantastic thing is tha...You're right Daniel and the <I>fantastic</I> thing is that I personally contributed to write that MDC page (about read-only name informations) ... so I need more memory :D<BR/><BR/>However, other concepts are the same, even if name is not a standard property.<BR/><BR/>var f = function(){};<BR/>a reference of an anonymous function.<BR/><BR/>function f(){};<BR/>a function called f.<BR/><BR/>I hope you agree at least about that and thank You for your post :)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-28396702686367131552007-03-14T00:05:00.000+01:002007-03-14T00:05:00.000+01:00The name property isn't standard. So IE's fine the...The name property isn't standard. So IE's fine there. Take a look at section 13.2, it's not mentioned once. If you don't trust me, check out the <A HREF="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Function#Properties" REL="nofollow">mozilla developer documentation for function properties</A>.<BR/><BR/>In fact, IE supports the optional identifier for function expressions but Safari doesn't. So IE has better support for the standard than Safari in this case (although this is fixed in the Webkit nightlies).Danielhttps://www.blogger.com/profile/06150368781112710100noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-76815281669887479032007-03-13T17:26:00.000+01:002007-03-13T17:26:00.000+01:00Thank you Andrea! Clear as ever.Thank you Andrea! Clear as ever.Anonymousnoreply@blogger.com