Array.prototype.xz = function() { return [10, 20, 30]; }; array = [1, 3, 4, 6, 87, 9]; array = array.xz();