span>

animals<span class="token punctuation">.</span><span class="token function">pushObject</span><span class="token punctuation">(</span><span class="token string">'peacock'</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 string">'lastObject'</span><span class="token punctuation">)</span><span class="token punctuation">;</