code: function parseList(list, whitelist, context) {
      const parsed = list.split(',');
      parsed.forEach(item => checkWhitelist(item, whitelist, context));
      return parsed;
  }
docs: Parses a list of comma-separated strings and validates them against whitelist.
  
  @private