I would like to ask questions about 'delete' operator in Javascript
Why
delete window.document; // returns false
but
delete navigator.geolocation; // returns true
I try other properties of navigator
and it still returns true
I have checked the IDL in webkit,
document
and navigator
are both of readonly,
and they dont have DontDelete attribute
but why I can delete one but not for the other???