2937Re: [jslint] Re: typeof null
- Jul 23, 2012On Jul 23, 2012 12:57 PM, "douglascrockford" <douglas@...> wrote:
> --- In email@example.com, "spence.randall@..." <randall@...>
> >still don't know the reason for the change, so perhaps there is something
> > I'd like to hear from Douglas as to why the change and warning, we
we are missing.
>To clarify: see
> typeof null is an error.
typeof null returns "object", which is counter productive, and will become
inconsistent in future versions of ECMAScript.
> typeof undefined is bigger and slower and less informative.[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>