/ Published in: Groovy

how to loop an array / collection / list but with index. instead of using each{} closure, you can use eachWithIndex{} closure
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// index started with 0 }
Comments
