Javascript Array lastItem()

Description

Javascript Array lastItem()


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



PreviousNext

Related