constructor.prototype

一个很好玩的小问题
考大家对js的理解
function alert (){};

________________ // 填空

alert(1); 使1弹出

 http://perfectionkills.com/understanding-delete/
delete window对象在不同浏览器下表现的问题 
 
 function alert (){};
var alert = function (msg){
    window.constructor.prototype.alert.call(this,msg)
}
alert(1);  
原文地址:https://www.cnblogs.com/longze/p/3256479.html