es-discuss Digest, Vol 95, Issue 45

Fabrício Matté ultcombo at
Tue Jan 20 04:45:06 PST 2015

> Point 2 is incorrect (e.g. `new (Foo.bind.apply(Foo,
> [undefined].concat(args)))`).

I stand corrected. That's very good news, thanks!
Nice and elegant solution, by the way.

I should have taken the time to look at how current transpilers handle
that. Your solution is similar to Traceur's generated output, but it is
also interesting to see how [6to5 spreads arguments in a NewExpression](

Oh, I also had a typo in the previous mail (`s/rest parameters/spread`),
guess I was a bit too sleepy last night.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list