List comprehensions: Difference between revisions
Content added Content deleted
(The objection is incorrect and unhelpful. The JavaScript example is isomorphic to the Mathematica example.) |
(Undo revision 211141 by Hout It is not only about getting the right answer - using the right syntax is also what this task is all about.) |
||
Line 768: | Line 768: | ||
=={{header|JavaScript}}== |
=={{header|JavaScript}}== |
||
{{incorrect|Javascript|no list comprehension ''syntax'' shown - just renaming map&filter}} |
|||
{{trans|Python}} |
{{trans|Python}} |
||