ss="javascript language-javascript"><span class="token keyword">let</span> animals <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">'rooster'</span><span class="token punctuation">,</span> <span class="token string">'pig'</span><span class="token punctuation">]</span><span class="token punctuation">;</span>

animals<span class="token punctuation">.</span><span class="token function">get</span><span class="token punctuation">(</span><span class="token s