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 oldValue property belongs to the Storage Event object, and returns the old value of the item that was changed.