local

Mark S. Miller erights at google.com
Wed Aug 20 10:21:09 PDT 2008


On Wed, Aug 20, 2008 at 8:54 AM, Peter Michaux <petermichaux at gmail.com> wrote:
> [...] "var" means variable but
> actually specifies scope also to the surrounding function. "function"
> implies an actual function but JavaScript can have side effects
> anywhere. "undefined" doesn't really mean something is undefined as it
> could be defined to be undefined. [...]

And there's that classic naming perversity:

    typeof NaN === 'number'

-- 
 Cheers,
 --MarkM


More information about the Es-discuss mailing list