BigW Consortium Gitlab

array.js 126 Bytes
Newer Older
1 2 3 4 5 6
Array.prototype.first = function() {
  return this[0];
}

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