Le 12/06/2012 16:19, Hemanth H.M a écrit :
Would it be useful to have something like sum[value] = sum.get(value, 0) + 1
You can always do
sum[value] = (sum.get(value) || 0) + 1;
I think it's simple enough to justify not having an additional (and
potentially confusing) argument, but I'm open to debate.
David
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

