The key property of the StorageEvent interface returns the key for the storage item that was changed.
key
StorageEvent
A string containing the key for the storage item that was changed.