I'm trying to toggle a true/false variable in local storage. 

```
console.log("Toggling...");
console.log("Current:" + localStorage.item);
console.log("Current is being changed to: " + !localStorage.item);
localStorage.item = !localStorage.item;
console.log("Current " + localStorage.item);

```

What this does is this:

First run

```
 Toggling...
    (index):31 Current:undefined
    (index):32 Current is being changed to: true
    (index):34 Current true

```

Second run

```
Toggling...
(index):31 Current:true
(index):32 Current is being changed to: false
(index):34 Current false

```

Subsequent runs...

```
Toggling...
(index):31 Current:false
(index):32 Current is being changed to: false
(index):34 Current false

```

Why does my variable not change back to true?