Till Schneidereit (2013-10-13T16:51:44.000Z)
On Sun, Oct 13, 2013 at 6:45 PM, Kevin Smith <zenparsing at gmail.com> wrote:
>>>
>> This is trivial with Symbols:
>>
>>   let shuffle = Symbol();
>>
>>   Array.prototype[shuffle] = function() {...};
>>
>>
>> Only code that has access to the `shuffle` symbol may use the method:
>>
>>   let shuffled = array[shuffle]();
>>
>
> Unfortunately, such a construction will fail in a multi-realm (i.e. multiple
> frames) environment.

That's what the symbol registry will solve, though.
domenic at domenicdenicola.com (2013-10-28T14:57:41.931Z)
That's what the symbol registry will solve, though.