It's nice that the 'storage' event also gives you event.newValue to spare you the race condition of reading from localStorage.
It's nice that the 'storage' event also gives you event.newValue to spare you the race condition of reading from localStorage.