How to catch last iteration inside $.each in jQuery?

Viewed 26878
var arr = {'a':fn1,'b':fn2,'c':fn3}

$.each(arr,function(name,func){
(do something particular for the last iteration)
...
})

It'll be best if no additional variables are used.

EDIT: I mean LITERALLY last one,which is the last pair I type them.

6 Answers
Related