y this doesn't work in
AS3!]
> In some later proposals, no, because the
> concept of subclassing is being replaced by the concept of trait
> combination. Since this gives non-tree-like subtype relationships, it can't
> accommodate instanceof.
>
>> Should there be a `s
Since this gives non-tree-like subtype relationships, it can't
accommodate instanceof.
> Should there be a `subclassof` operator?
>
>
> ___
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozill
In the various classes-as-sugar proposals, is there a way to test if one class
is a subclass of another? Is it as simple as:
classa.prototype instanceof classb
?
Should there be a `subclassof` operator?
___
es-discuss mailing list
es-discuss
3 matches
Mail list logo