How to delete object from window javascript
javascript
Solution
You can't `delete` a local variable that has been declared with `var`.
You can only delete properties of objects - this happens to also include global variables which are implicit properties of the `window` object.
Problem
I need to delete one object in my case. so i am using "delete" keyword but after using it, I am able get the value again ``` var test= {}; test[0]="111"; test[1]="555"; delete test; alert(test[0]) ```