Javascript Array firstElement()

Description

Javascript Array firstElement()


Array.prototype.firstElement = function() {
  return Array[0];
};

Javascript Array firstElement()

Array.prototype.firstElement = function() {
  return this[0];
}



PreviousNext

Related