The Storage Event is triggered when there is a change in the window's storage area.
Note: The storage event is only triggered when a window other than itself makes the changes.
Therefore, in this example, a new window is created, and the changes is done in the new window.
The key property belongs to the Storage Event object, and returns the name of the item that was changed.