1. Function.prototype.bind5 = function(){
    2. var self = this
    3. var arg = [...arguments].slice(1)
    4. var fNop = function(){}
    5. var fbound = function(){
    6. var args = [...arguments]
    7. arg = arg.concat(args)
    8. self.apply(this instanceof self ? this : context,arg)
    9. }
    10. //做出修改
    11. fNop.prototype = this.prototype
    12. fbound.prototype = new fNop();
    13. return fbound
    14. }