Javascript Array shallowCopy()

Description

Javascript Array shallowCopy()

Array.prototype.shallowCopy=function() {
  return this.slice(0);
};



PreviousNext

Related