Meteor Handlebars: How to access a plain array?

var plain_array = [1, 2, 3, 4, 5, 6, 7]

How can I show all elements in Meteor Handlebars?

{{#each plain_array}}

# What to put here to get the elements?

{{/each}}

(This question is similar: handlebars: how to access an array? but not the same as the other question presumes an array of objects.)

From Handlebars documentation.

{{#each people}}
  <li>{{this}}</li>
{{/each}}


The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .
Read More:   Module is not available, misspelled or forgot to load (but I didn't)

Similar Posts