StorageEvent oldValue Property in JavaScript
StorageEvent oldValue Property in JavaScript
The oldValue property is used to return the old value of changed storage item. The storage event is used to only fire when a window other than itself makes the changes.
Syntax:-
Its syntax is:- event.oldValue
Return:-
Its return is:- string containning old value of the storage item