重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
var globalVal = 1;
delete globalVal; // false
(function(){
var localVal = 1;
return delete localVal;
}()); // false
function fd(){}
delete fd; // false
(function(){
function fd(){};
return delete fd;
}());//false
ohNo = 1;
console.log(window.ohNo); // 1
delete ohNo; //true