I am currently having trouble accessing an element of an array based on the index of another array. Here is what I'm trying to do in a simplified version:
So I have 2 arrays that I pass to handlebars:
array1 = [Top, Mid, Jungle, ADC, Support]
array2 = [Gankplank, Ahri, Khazix, Ezreal, Janna]
Here is my simplified handlebars code:
{{#each array1}}
{{this}} - {{array2.[@INDEX OF ARRAY 1]}}
{{/each}}
So my desired output would look like:
Top - Gankplank
Mid - Ahri
Jungle - Khazix
ADC - Ezreal
Support - Janna