I read a book about javascript that said:
var o = {x:1 , y:2 };
delete o ; // Can't delete a declared variable so returns false;
However, the book also states that the variables declared outside any function scope are properties of the global object.
Why aren't we allowed to delete it then if it is a property of the global object?