code: function createReservation(resources, start, duration) {
      var end = start + (duration * later.MIN),
          reservation = {
            resources: resources,
            start: start,
            end: end,
            duration: duration,
            success: true
          };
  
      applyReservation(resources, start, end);
      return reservation;
    }
docs: Generates a new reservation object and reserves the associated resources.