Array.prototype.myUnshift = function(...args) {
return [...this, ...args]
}
[3,5].myUnshift(34,52,25)
// [3, 5, 34, 52, 25]
Array.prototype.unshift = function(){
Array.prototype.splice.call( arguments, 0, 0, 0, 0 );
Array.prototype.splice.apply( this, arguments );
return( this.length );
};