I'm trying to output the content of the following array inside the output JSON object:
let output = {
out:[
]
};
I add stuff in the array by doing the following :
for (let j = 0; j < length ; j++){
output.out[j]= "stuff" + j;
}
And finally I try to output the content by using "each" call:
{{#each output.out}}
{{this}}
<br>
{{/each}}
I would like to output the following if length=3:
stuff0
stuff1
stuff2
I don't receive any error but nothing gets outputted. Sorry for my clumsy English.