code: function copyNamedProperties(names, src, dst) {
    names.forEach(function(name) {
      const value = src[name];
      if (value !== undefined) {
        dst[name] = value;
      }
    });
  }
docs: /* eslint no-console: "off" 
  Copy named properties
  
  @param {string[]} names names of properties to copy
  @param {object} src object to copy properties from
  @param {object} dst object to copy properties to
  @private