When i pass arguments it consoles an Error(cannot read property "map" of undefined), when i pass an empty array it consoles an empty array :)
Array.prototype.square = function() {
return [].map((number) => number^2)
}
var numbers = [1, 2, 3, 4, 5];
console.log(numbers.square())