oldValue
Description
The oldValue of MutationRecord for JS return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.
Syntax
record.oldValue