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