var func1 = function(value){if(typeof value !== 'number'){return false;}else{return value >=this.minimum && value <=this.maximum;}}
var range = { minimum : 10, maximum: 20 };
var func2 = func1.bind(range);
alert(func2(23));
打印为false
alert(func2(12));
打印为true;