StorageEvent storage Event in JavaScript
StorageEvent storage Event in JavaScript
The storage event is used to only fire when a window other than itself makes the changes. It occur when there is change in windows area.
Syntax:-
Its syntax is:- object.addEventListener("storage", my_script)