var name = '李四';
var age = 30;
function Bb(name,age){
this.name = name;
this.age = age;
this.sayName = function(){
console.log(this)
return this.name + '' + this.age + '岁';
}
}
var arr = new Bb('张三',20);
console.log(arr)
console.log(arr.sayName());
console.log(arr.sayName.call(window));
console.log(arr.sayName.bind(window)());