Re: if O is an Array object

2010-09-24 Thread P T Withington
On 2010-09-24, at 18:11, Jorge wrote: > So b is truly a subclass of Array, not a fake one. I stand corrected. At some time in the past, this did not work for me. Apparently things have improved! Thanks. ___ es-discuss mailing list es-discuss@mozilla

Re: if O is an Array object

2010-09-24 Thread Jorge
On 24/09/2010, at 23:26, P T Withington wrote: > On 2010-09-24, at 16:01, Dmitry A. Soshnikov wrote: > >> An object is array (if and only if by the spec) if its [[Class]] is "Array". >> Even if the object implements all the interface and has all invariants (such >> as "length" property) of a cas

Re: "Syntax for Efficient Traits" is now ready for discussion (was: Classes as Sugar is...)

2010-09-24 Thread Tom Van Cutsem
Up to now, the strawman page on "syntax for efficient traits" left unspecified the semantics of trait composition, deferring this to the traits.js library implementation. I thought I'd give a shot at specifying the semantics of trait composition independent of any concrete implementation: < http://