try
each item in rows
li= item
Your second example would work except you have a small syntax error in it - an extra parentheses, it should be:
- rows.forEach(function(item) {
li= item
- })
You can use
ul
each val, index in ['zero', 'one', 'two']
li= index + ': ' + val
or
ul
each val, index in {1:'one',2:'two',3:'three'}
li= index + ': ' + val
see this link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With