Proposal for faster this assignments in constructor functions
T.J. Crowder
tj.crowder at farsightsoftware.com
Sat Dec 1 10:13:48 UTC 2018
On Fri, Nov 30, 2018 at 5:49 PM T.J. Crowder
<tj.crowder at farsightsoftware.com> wrote:
> which is
>
> ```js
> class Example {
> ...
> }
Apologies, that "which is" at the end of my previous message should have
been:
```js
class Example {
second;
#third;
fifth;
constructor(first, second, third, fourth, fifth) {
this.second = second;
this.#third = third;
this.fifth = fifth;
// presumably code here uses `first` and `fourth`
}
}
```
Editing error. :-)
-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20181201/bff68d12/attachment.html>
More information about the es-discuss
mailing list