src/sessionsConverter.js
function updateLabels(potentialLabel) {
    var lowerCaseLabel = potentialLabel.toLowerCase();
    if (!labelSet.hasOwnProperty(lowerCaseLabel)) {
      labels.push(potentialLabel);
      // now value is in our set
      labelSet[lowerCaseLabel] = true;
    }
    return lowerCaseLabel;
  }
function updateLabels(potentialLabel) {
    var lowerCaseLabel = potentialLabel.toLowerCase();
    if (!labelSet.hasOwnProperty(lowerCaseLabel)) {
      labels.push(potentialLabel);
      // now value is in our set
      labelSet[lowerCaseLabel] = true;
    }
    return lowerCaseLabel;
  }
function updateLabels ( potentialLabel ) { var lowerCaseLabel = potentialLabel . toLowerCase ( ) ; if ( ! labelSet . hasOwnProperty ( lowerCaseLabel ) ) { labels . push ( potentialLabel ) ; // now value is in our set labelSet [ lowerCaseLabel ] = true ; } return lowerCaseLabel ; }
check if our set has the value or not
check if our set has the value or not