typeof null

Brendan Eich brendan at mozilla.com
Tue Apr 19 15:14:05 PDT 2011


Hang on. The proposal is to change typeof null == "null" only under opt-in to Harmony.

http://wiki.ecmascript.org/doku.php?id=strawman:object_isobject

I'll rewrite this as a harmony:typeof proposal for the next TC39 meeting, but it's already harmonious in concept.

/be

On Apr 19, 2011, at 3:03 PM, Andreas Gal wrote:

> 
> I think there is pretty broad consensus that this will affect the web. To what extent is unclear. I would be willing to take our nightly testers for a test drive for a couple days to see how badly things break if TC39 is leaning towards making such a change. Before we do that maybe you want to compile a browser with that change and surf around a bit and see how it goes? google, amazon, facebook, etc.
> 
> Andreas
> 
> On Apr 19, 2011, at 2:56 PM, Tom Schuster wrote:
> 
>> Hey list,
>> 
>> just wanted to ask what's going to happen with typeof null, i am a lot
>> in the favor of changing it to say "null". Changing this was discussed
>> here http://wiki.ecmascript.org/doku.php?id=strawman:object_isobject
>> and http://wiki.ecmascript.org/doku.php?id=proposals:typeof. I think
>> ´typeof null´ could use it's own proposal and some tracking how much
>> this would affect the web.
>> 
>> Cheers
>> Tom Schuster
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



More information about the es-discuss mailing list