excluding features from sloppy mode

Andreas Rossberg rossberg at google.com
Sun Dec 30 04:01:11 PST 2012


On 30 December 2012 12:50, Axel Rauschmayer <axel at rauschma.de> wrote:
> 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.

That underscore wildcard is the exact syntax used in functional
languages, and very useful, I agree. In JS, that syntax would be a
breaking change, unfortunately. But we could use something else (e.g.
I proposed '.' in the past).

/Andreas


More information about the es-discuss mailing list