function appendArgument(first, name, value) {
    if (!first) {
      s.push(', ');
    }
    if (opt_argumentNames) {
      s.push(name);
      s.push('=');
    }
    if (goog.isString(value)) {
      s.push('\'');
      s.push(value);
      s.push('\'');
    } else {
      // TODO(benvanik): better handling of objects/other types?
      s.push(value);
    }
  }
Pushes argument data into the given array for later joining.
@param {!Array} s Target string array.
@param {!wtf.db.EventType} type Event type.
@param {boolean=} opt_argumentNames Whether to include argument names.
@private