set of array.prototype methods, converting mutators to accessors