Typed properties beside Typed Objects

Brendan Eich brendan at mozilla.com
Tue Mar 11 10:37:32 PDT 2014

Andrea Giammarchi wrote:
> **Backward Compatible**
> Having an implicit default to `Any` means that this `type` descriptor 
> property could be simply ignored or implemented as _always Any_ in ES5 
> or ES6 compatible engines but a simple library that wraps 
> `Object.create`,

Still not making sense.

If the types can be ignored, then they have no effect when evaluating 
new code as well as old. Anything else is not backward compatible.

Please slow down and show what you want to happen in new code that 
differs because of a .type member of a property descriptor. Show a use-case.


More information about the es-discuss mailing list