var array = [1,2,3,4];
var lastEl = array.last();
Anything similar to this in jQuery?
OK jQuery experts : So .. I'm coming from a Prototype background.
I do the following code all the time (or some similar variation):
MyObject.prototype.someFunction = function()
var myArray = ["a","b","c"];