MDN self-hosted library · e01.org

StorageEvent: oldValue property

Web Storage API

no runnable cells web-api-instance-property upstream source

Web Storage API

The oldValue property of the StorageEvent interface returns the original value of the storage item whose value changed.

Value

A string containing the original value of the storage item.

Specifications

Browser compatibility

See also