index as optional parameter for iterators
amerelo opened this issue · comments
Alexis Merelo commented
Is your feature request related to a problem? Please describe.
Currently there is no easy way to access the index will using iterators
[1, 2].map( (value) {
...
})
Describe the solution you'd like
Allow access of index as optional parameter
[1, 2].map( (value, index) {
...
})