>"foo"</span> <span class="token punctuation">(</span><span class="token variable">concat</span> <span class="token string">"item"</span> <span class="token variable">index</span><span class="token punctuation">)</span><span class="token delimiter punctuation">}}</span></span>
<span aria-hidden="true" class="line-numbers-rows"><a href="#C2_L1" id=C2_L1></a></span></code></pre>
<p>This will display the result of <code>this.foo.item1</code> when index is 1,
and <code>this.foo.item2</code> when index is 2, etc