javascript - Render an array of objects in mustache js -
[object, object] 0: object 0: object id: 1 name: "xvxvxcv" semester: 2 1: object how can render array of objects in mustache js? can't use {{#data}} {{/data}} iterate because hasn't name.
[object, object] 0: object 0: object id: 1 name: "xvxvxcv" semester: 2 1: object probably output shown in js console. got output entering variable. of course, must have assigned object variable. when have variable assigned object, can directly access variable in mustache code this,
{{#object}} {{key}} : {{value}} {{/object}}
Comments
Post a Comment