oldValue

Returns the old value of the key of the storage item whose value is being changed.

MDN Reference