Two sum: Difference between revisions
Content deleted Content added
m →ES5 |
|||
Line 192:
===ES5===
functions passed to Array.map() have access to the array index in their second argument.
Returning [] where the y index is lower than then x index ignores the 'lower triangle' of the cartesian grid,
|