On Jul 15, 2013, at 9:35 AM, Dean Landolt wrote: > > > > On Mon, Jul 15, 2013 at 12:24 PM, Allen Wirfs-Brock <al...@wirfs-brock.com> > wrote: > > Regarding, typeof. The right way to look at it is that the set of results > that correspond to non-object types will be fixed and includes only > ("undefined", "null", "number", "string", "boolean"). All other typeof > values correspond of objects (where an object is a value that support the ES > internal MOP). > > > I'm very surprised to see "null" in this list, and not "function" -- a typeof > typo I hope?
Sorry, "null" should be in the list, and is the one legacy value that muddles typeof. functions are objects, not primitive values.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss