Is wiki.ecmascript.org down?

2015-11-21 Thread Axel Rauschmayer
I wanted to read the following document, but couldn’t access the server: http://wiki.ecmascript.org/doku.php?id=strawman:proxy_symbol_decoupled Does the server still exist? If not, is the document available somewhere else?

Re: Is wiki.ecmascript.org down?

2015-11-21 Thread Claude Pache
> Le 21 nov. 2015 à 18:42, Axel Rauschmayer a écrit : > > is the document available somewhere else? Yes, thanks to the Wayback machine: https://archive.org/web/ Direct link: https://web.archive.org/web/20150908004703/http://wiki.ecmascript.org/doku.php?id=strawman:proxy_symbol_decoupled —Clau

Aren’t membranes incompatible with private data via WeakMaps?

2015-11-21 Thread Axel Rauschmayer
Take, for example, the following class, which uses WeakMaps for its private data: ```js let _counter = new WeakMap(); let _action = new WeakMap(); class Countdown { constructor(counter, action) { _counter.set(this, counter); _action.set(this, action); } dec() {

Re: Aren’t membranes incompatible with private data via WeakMaps?

2015-11-21 Thread Mark S. Miller
Answering the question in the subject line, no. The key is the difference between a standalone proxy and a membrane. With a membrane, the key is that the: * Countdown class * Countdown.prototype * Countdown.prototype.dec * instances of the Countdown class * the WeakMaps used by the Countdown class