It would actually be nice to have that as a feature: If the variable name is `_` then it can be used multiple times. It’s a nice, self-descriptive way of saying that you don’t care about a parameter value.
On Dec 30, 2012, at 6:25 , Domenic Denicola <[email protected]> wrote: > Sadly no, and can't quite seem to get any of the various code-searches on the > internet working. It would be worth doing one of those web-crawling > experiments we see from time to time, though. > >> -----Original Message----- >> From: Brendan Eich [mailto:[email protected]] >> Sent: Saturday, December 29, 2012 22:10 >> To: Domenic Denicola >> Cc: Mark S. Miller; [email protected] >> Subject: Re: excluding features from sloppy mode >> >> Domenic Denicola wrote: >>> Duplicate parameters are quite common in the following case: >>> >>> callSomething(function (_, _, whatIActuallyCareAbout) {}); >> >> I've never seen that in JS. In ML, sure. >> >> Have you any links to cite? >> >> /be >> > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > -- Dr. Axel Rauschmayer [email protected] home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

