code: function applyOptions(options) {
    const settings = {};
    options = options || {};
    Object.assign(settings, defaults, options);
  
    return settings;
  }
docs: Merge default options with overwrites and returns new object