flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wienberg <fr...@jangaroo.net>
Subject Re: [FalconJS] concepts
Date Thu, 29 Nov 2012 08:26:02 GMT
On Thu, Nov 29, 2012 at 8:45 AM, Erik de Bruin <erik@ixsoftware.nl> wrote:

> Well, there is the JavaScript operator "instanceof", what's wrong with
> that?

Nothing, but it only works when you actually use the
prototype chain, not when you copy all members from
the superclass to the subclass.
Also, when using ActionScript, you will want to use "is"
for interfaces, where "instanceof" does not work.
Bernd Paradies points out in his
a real drawback
of TypeScript is that there is no runtime type information
about interfaces. The Jangaroo Compiler + Runtime
implement the "is" and "as" operators to work with
interfaces seamlessly and efficiently!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message