in reply to Write code diferently
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
|
|---|