d at domenic.me (2014-11-18T22:38:42.256Z)
I know that this could clearly work for implementing private arrays, etc.
as well, but what about private integer or booleans?
```js
let _x = 0;
let _y = false;
class Foo {
constructor(x, y) {
this::_x = x;
this::_y = y;
}
// ...
}
```
I know that this could clearly work for implementing private arrays, etc. as well, but what about private integer or booleans? ```js let _x = 0; let _y = false; class Foo { constructor(x, y) { this::_x = x; this::_y = y; } // ... } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141022/c18a3d46/attachment.html>