How to fix the `class` keyword

Matthew Robb matthewwrobb at gmail.com
Wed Mar 4 19:17:28 UTC 2015


On Wed, Mar 4, 2015 at 2:13 PM, Matthew Robb <matthewwrobb at gmail.com> wrote:

> var x = {}; X.call(x);


​Sorry this should have read:
```
var x = Object.create(X.prototype); X.call(x);
```​



- Matthew Robb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150304/432a3dba/attachment.html>


More information about the es-discuss mailing list