3 ms·
Right, that’s also the case for comma in JS.
by jakear 7y ago
Right, that’s also the case for comma in JS.
- piadodjanho 7y agoI reckon that most language with grammar inspired in C describes the comma operator.
- kbenson 7y agoSo, are you making the case that the examples present are common in JS as well? Because the whole point of the comment was in the uncommon usage of comma operator, as stated in the first sentence. And to be clear, even if it is common in JS, that still doesn't reduce the usefulness of the original comment, because we aren't talking about JS, we're talking about C, and the commonness of the features notes in the C ecosystem. There are plenty of obscure oft-ignored features on one language that are common in another. For example, taking someone's interesting C macro that allows some level of equivalence to functional map and apply and saying "that isn't very obscure, even lisp has that" is missing the point.