code: function (markerName) {
        var i, finalDetail;
        var lastEventId = 0;
        for (i = 0; i < this._events.length; i++) {
           var evt = this._events[i];
  
           if ((evt.eventType === 'MarkerRecorded') && (evt.markerRecordedEventAttributes.markerName === markerName) && (parseInt(evt.eventId, 10) > lastEventId)) {
              finalDetail = evt.markerRecordedEventAttributes.details;
              lastEventId = evt.eventId;
           }
        }
        return finalDetail;
     }
docs: Get the details of the last marker with the given name
  @param {String} markerName
  @returns {Mixed}