function Rang(from, to){
this.from = from;
this.to = to;
}
Rang.prototype.include = function(x){
return this.from < x && this.to > x;
}
var p1 = new Rang(3, 7);
Rang.prototype = {
notInclude: function(){
return this.from > x || this.to < x;
}
}
console.log(p1 instanceof Rang);
//上述代码 为何最后控制台输入是false,求解释原因