G'day madM,
You could probably use for loops: the map documentation has an example of this.
Without any context for those three lines of code, or knowing the rationale behind eliminating map (as BrowserUk as already inquired about), it's difficult to know what alternative code would be suitable.
-- Ken
In reply to Re: Write code diferently
by kcott
in thread Write code diferently
by madM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |