Javascript Array top()

Description

Javascript Array top()


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



PreviousNext

Related