Re: Creating entangled objects

Mark S. Miller wrote:
> Object.create(OtherObjectPrototype)
>
>
> On Mon, Mar 9, 2015 at 4:57 PM, Jonas Sicking <jonas@sicking.cc 
> <mailto:jonas@sicking.cc>> wrote:
>
>
>     But how does the call that create the two objects create them? If not
>     through their constructor?
>

I think Jonas may have wondered about convenience, but if you provide 
one constructor for two objects, a la Proxy.revocable, then that answers 
the usability issue. (O.c has notoriously suboptimal usability.)

/be

Received on Tuesday, 10 March 2015 00:38:07 UTC