Content deleted Content added
StereoFolic (talk | contribs) Correct JS syntax to use variable declaration keywords, and copyedit |
WikiPeridot (talk | contribs) mNo edit summary |
||
Line 119:
</syntaxhighlight>
Any [[For loop|''for'' loop]] can be replaced by a [[list comprehension]]; so that to compute the squares of the positive odd numbers smaller than ten (i.e. numbers whose remainder modulo 2 is 1), one can do:
<syntaxhighlight lang="coffeescript">
|