typeof symbol (Was: Sept 19 TC39 Meeting Notes)

Andreas Rossberg rossberg at google.com
Tue Oct 2 03:56:26 PDT 2012


On 1 October 2012 21:17, Dean Landolt <dean at deanlandolt.com> wrote:
> Fair enough. But is there any value in a new typeof result? I surely can't
> see any. It's broken beyond repair -- I don't see the use in breaking more
> code trying to salvage it :P

There isn't much value in a new typeof result as such. But it avoids
the (potentially significant) _cost_ of requiring that every new
primitive type ever introduced behaves like an object.

/Andreas


More information about the es-discuss mailing list