Looping an object using EJS

486 views
Skip to first unread message

wingy

unread,
Sep 22, 2012, 8:49:53 PM9/22/12
to expre...@googlegroups.com
The documentation tells how to loop an array in an EJS template.

But how do you loop an object so you can access each key and value?

Wingy

wingy

unread,
Sep 22, 2012, 8:55:22 PM9/22/12
to expre...@googlegroups.com
I used a for in loop.

Wingy
Reply all
Reply to author
Forward
0 new messages