Angel Java Lopez <mailto:[email protected]>
September 15, 2013 7:43 PM
Umm.. I don't know if needed, but named parameters could be an special case, that is, the normal parameters has no name, but you can invoke the function with

f(1,2, x: 3, z: 4);

Again, we are not going there. Object literals suck all the air away.

AFAIR, in V8, arguments is an object, not an array.

V8, Schmee-8 :-|.

The ECMA-262 spec says exactly what arguments is, and V8 follows the spec AFAIK.

So, it can be used for named parameters, a la Ruby.

Not going here either. The arguments object is a botch, in ES6 when you use new forms you lose it in favor of those forms.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to