code: function shift(unshifted) {
      var i, length, shifted = [];
      for (i = 1, length = unshifted.length; i < length; i += 1) {
          shifted[i - 1] = unshifted[i];
      }
      return shifted;
  }
docs: unshifted: arguments object from another function arguments object does not implement Array methods so this function provides a logical arguments.shift()