How to use the array into jade?

Want to make a menu. It looks like this
mixin menu-footer(...items)
 each item in items
 +e('li')(class='item-' + item.itemclass)
+menu-footer({itemclass:'search',refs:'#', name:'Search'})

Interested in how to make an array that would be possible to add something like that
+menu-footer( [ {itemclass:'search', {refs:'#', name:'Search'} ] )
June 14th 19 at 20:34
1 answer
June 14th 19 at 20:36
I'm not sure if I understand the question, but take a look at this example it can help...

or here's How to add a class in jade(in a loop)?

Find more questions by tags CSSHTMLPug