Javascript Array get_last()
last()
Array.prototype.get_last = function () { var self = this; var length = self.length; return length ? self[ length - 1 ] : null; };