> private @FooBrand;
> class Foo {
>    constructor() {
>         /* establish the internal Fooness of the instance */
>         this.@FooBrand = true;
>    }
> }
> Foo.isFoo = function (obj) {return !!obj.@FooBrand};
>

Using this strategy, will isFoo not fail, if the specified object came from
a different global context (frame)?

Kevin
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to