code: function parseArguments(args) {
      const first = args[0];
      const second = args[1];
  
      return typeof first === 'string'
          ? { namespace: first, mappings: second }
          : { namespace: null, mappings: first };
  }
docs: determine the values of our namespace and mappings