CSML-by-Clevy / csml-engine

CSML is an easy-to-use chatbot programming language and framework.

Home Page:https://csml.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

index as optional parameter for iterators

amerelo opened this issue · comments

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) {
...
})