function getExperiments(options) {
  return foldl(function(results, experimentId) {
    var experiment = options.allExperiments[experimentId];
    if (experiment) {
      results.push({
        variationName: options.variationNamesMap[experimentId],
        variationId: options.variationIdsMap[experimentId][0],
        experimentId: experimentId,
        experimentName: experiment.name
      });
    }
    return results;
  }, [], options.activeExperimentIds);
}
Retrieves active experiments.

@api private
@param {Object} options