The class operator: a bridge between object and function exemplers

Jake Verbaten raynos2 at gmail.com
Thu Nov 17 09:47:56 PST 2011


5 Let *proto* be the value of the [[Prototype]] internal property of *obj*.
6 Return the result of evaluating this algorithm using the value of *proto* as
the value of *UnaryExpression*
*
*
What is the point of calling class recursively on the [[Prototype]] if the
object does not have constructor or [[ctor]] ?

Other then that, this solves the issue in an intuitive way.

On Thu, Nov 17, 2011 at 5:04 PM, Allen Wirfs-Brock <allen at wirfs-brock.com>wrote:

> OK, I have a fix for the missing constructor problem. See:
> http://wiki.ecmascript.org/doku.php?id=strawman:class_operator#missing_constructors
>
>
> Allen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111117/f3237f6e/attachment-0001.html>


More information about the es-discuss mailing list