tracking.js
function setRecord(state, record) {
  Object.defineProperty(state, 'record', {value: record, writable: true, configurable: true, enumerable: false});
}
function setRecord(state, record) {
  Object.defineProperty(state, 'record', {value: record, writable: true, configurable: true, enumerable: false});
}
function setRecord ( state , record ) { Object . defineProperty ( state , 'record' , { value : record , writable : true , configurable : true , enumerable : false } ) ; }
Sets the given record on the given state that is being tracked for a message or unusable record.
@param {MessageState|UnusableRecordState} state - the tracked state to be updated
@param {Record} record - the record to link to the state
Sets the given record on the given state that is being tracked for a message or unusable record .