Kevin Smith (2013-10-13T16:45:21.000Z)
>
>
>> 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.

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131013/d82a3971/attachment.html>
domenic at domenicdenicola.com (2013-10-28T14:57:29.377Z)
> This is trivial with Symbols:

Unfortunately, such a construction will fail in a multi-realm (i.e.
multiple frames) environment.