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