Is there a good way to get the last element from an array of elements?

Ex:

<div class="example">1</div>
<div class="example">2</div>
<div class="example">3</div>

$$('.example').pop().get('html')

would return 3.

Ok but is there a more 'mootools way' of doing it, instead of using pop
()?
Like using a selector? which? :S

Reply via email to