C. Scott Ananian ecmascript at
Fri Jun 13 08:05:36 PDT 2014

On Fri, Jun 13, 2014 at 6:33 AM, Tom Van Cutsem < at> wrote:
> Jason proposes:
>     new C(...args) => C[](...args)
> Allen proposes:
>    new C(...args) =>  C.apply(C[Symbol.create](), args)

Consider also the way the spec could read.  For example, for the
'Error' object, instead of having " Error ( message )" and
" new Error ( ...argumentsList )", in Jason's formulation
section would just be "Error[ @@new ]]", aka an ordinary
method definition.  "If Error is implemented as an ECMAScript function
object, its inherited implementation of @@new will perform the above

More information about the es-discuss mailing list