clearReference()

Clears a live reference for the value passed in using property syntax. For example, if you use aura:set to set a value and later want to reset the value using component.set(), clear the reference before resetting the value.

Signature 

clearReference(String key)

Parameters 

key: Type: String. The data key for which to clear the reference. For example, "v.attributeName".