StorageEvent newValue Property in JavaScript
StorageEvent newValue Property in JavaScript
The newValue property is used to return the new 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.newValue
Return:-
Its return is:- string containning new value of the storage item