index.js
function markActivity(activityId) {
  var activity = getActivity(activityId);
  var timeNow = Date.now();
  activity.timestamps.push(timeNow);
  return timeNow;
}
function markActivity(activityId) {
  var activity = getActivity(activityId);
  var timeNow = Date.now();
  activity.timestamps.push(timeNow);
  return timeNow;
}
function markActivity ( activityId ) { var activity = getActivity ( activityId ) ; var timeNow = Date . now ( ) ; activity . timestamps . push ( timeNow ) ; return timeNow ; }
Mark a timestamp in an activity. Adds it to the array of timestamps.
@param {number} activityId Activity ID.
@return {number} The timestamp value added.
Mark a timestamp in an activity . Adds it to the array of timestamps .