Function.prototype.bind = function(){
let context = [].shift.call(arguments)
let self = this;
let args = arguments;
return function () {
return self.apply(context,[...args,...arguments])
}
}
let temp = Array.prototype.concat.bind([1,3,5],7,8,9)
console.log(temp(10,12));