var aa = function(){
console.log(window==this, this, this.variable)
}
console.log(aa());
aa = bind(aa, {
variable: 'val'
});
console.log(aa());
function bind(fn, context) {
return function() {
return fn.apply(context, arguments)
}
}