4 ms·
Trevor (or someone else), could you explain this note? >Function calls can be used as default values for parameters. What can I do in 1.1.0 that I couldn't do
by endtime 16y ago
Trevor (or someone else), could you explain this note?
>Function calls can be used as default values for parameters.
What can I do in 1.1.0 that I couldn't do in 1.0.1? In 1.0.1, I just did the following:
coffee> x = 0
0
coffee> f = (g=(do -> x++), h=(do -> x++)) -> [g, h]
# (compiled JS)
coffee> f()
0,1
- deleted 16y ago[deleted]
- jashkenas 16y agoThanks for mentioning it -- the fix was actually to correct a regression from a previous commit, not a true bugfix versus 1.0.1. I've removed that line from the changelog.
- jckarter 16y agojashkenas (CoffeeScript author) replied to you, but for some reason he's deadbanned: > Thanks for mentioning it -- the fix was actually to correct a regression from a previous commit, not a true bugfix versus 1.0.1. I've removed that line from the changelog.
- endtime 16y agoCool, thanks for clarifying.
- veidr 16y agoI (now) know that Red Dead was banned in the UAE, and pictures of the US military dead are banned by the Pentagon, but what is 'deadbanned' in this context?
- jckarter 16y agoIf you're banned here, you aren't locked out of the site or prevented from posting. Your posts are just marked so that only you (and other users who have chosen "show dead comments" in their preferences) can see them, and there's no indication that you've been blacklisted. It's terrible.