> GATEWAY
That's an interesting idea, Bradley, thanks! I originally wanted this for
implementing "protected" class members (i.e. sharing a WeakMap across
subclasses in different files), but I've since done this another way that
is even better: https://github.com/trusktr/lowclass.
With lowclass we
The box function defined in github.com/mikesamuel/tc39-module-keys enables
things like this.
On Sun, Apr 23, 2017 at 4:42 PM, /#!/JoePea wrote:
> Is there a way to share some secret value across a few modules, and
> prevent other modules? f.e. prevent modules of an app dev who is importing
> mo
Ah, interesting! That would be useful!
*/#!/*JoePea
On Sun, Apr 15, 2018 at 11:58 AM, Mike Samuel wrote:
> The box function defined in github.com/mikesamuel/tc39-module-keys
> enables things like this.
>
>
> On Sun, Apr 23, 2017 at 4:42 PM, /#!/JoePea wrote:
>
>> Is there a way to share some s
Not sure how this is relevant, since this is about types rather than
identity, and I'd say typing values is *far* from a solved problem
beyond the basic concept of "all values have a type"...\* ;-)
\* https://en.wikipedia.org/wiki/Type_system
-
Isiah Meadows
m...@isiahmeadows.com
Looking fo
I mean you could have an interface IThenable that you implement to a
class/constructor. Then each instantiated object of such class/constructor can
be "identified" as a Thenable. Yes, that involves a type system.
-Original Message-
From: impinb...@gmail.com On Behalf Of Isiah Meadows
Se
that's the protocol proposal i mention on my proposal repo (https://github.com/devsnek/proposal-symbol-thenable)-Gus___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
6 matches
Mail list logo