docs: function convertToObject(args) {
  	let result = {};
  
  	args.forEach((arg, i) => {
  		if (Array.isArray(arg)) {
  			result[arg[0]] = arg[1];
  		} else {
  			if (i % 2 === 0) {
  				result[arg] = undefined;
  			} else {
  				result[args[i - 1]] = arg;
  			}
  		}
  	});
  
  	return result;
  }