Example: Get the array element index with 'v-for'

The 'v-for' directive is used to get the index of objects inside the 'manyFoods' array, together with the name and url of each food object.

{{ index }}: "{{ x.name }}", url: "{{ x.url }}"