Existential operator (was: ||= is much needed?)
Jeremy Ashkenas
jashkenas at gmail.com
Wed Jun 20 20:54:48 PDT 2012
As requested, running those rough greps again on the top ten most popular
CoffeeScript repos on Github yields:
188 uses of object?.property
32 uses of object?[key]
50 uses of function?(args)
46 uses of variable ?= value
... and the other ones are a bit tricker to grep for. There are at least a
handful more uses of the `function?(args)` style but with implicit
parentheses: `function? arg1, arg2` ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120620/3b6bcca1/attachment.html>
More information about the es-discuss
mailing list