The following code currently does not delete global property "p". It prints "number" instead of "undefined".
p = 3;
function f() {
delete p;
var x; // force creation of scope
function b() { print(x); }
}
f();
print(typeof p);