No, I didn't mean simulating them via an object literal. I mean actual named parameters like in Python or C# for example.
Are there any plans to peruse that and if so what is the status? On Sun, Jul 12, 2015 at 12:56 AM, Bucaran <[email protected]> wrote: > What about: > > foo({ bar: 5 }) > > function foo ({ baz, bak, bar }) { > console.log(bar) > } > > Or is there anything else you are considering or something I am missing. > > Regards > > > On Jul 12, 2015, at 6:47 AM, Benjamin Gruenbaum <[email protected]> > wrote: > > > > Hey, I wasn't able to find information about the current status of a > named parameters propsosal: > > > > // as in: > > foo(bar = 5); // logs 5 > > > > function foo(baz, bak, bar){ > > console.log(bar); > > } > > > > Is this being considered? Was it decided for/against? Anyone working on > it? > > _______________________________________________ > > es-discuss mailing list > > [email protected] > > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

