On Fri, Dec 9, 2011 at 9:01 PM, Ryan Bales <thinkt...@gmail.com> wrote: > Ah, I see. I'm sure someone has more insight into the way that the IE js > engine evaluates this, but I'm sure that it's concatenating typeof (which, > when stringified would return 'function'), rather than the return value of > typeof(item)
Rather "typeof" is on operator, just as "!", so it will get the type of the global "item" property. In IE, that's "function". /L -- 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