Javascript Array lastItem()
lastItem()
Array.prototype.lastItem = function() { return this[this.length - 1]; };