function validateArgCount(args) {
  if (args.length !== 1) { // eslint-disable-line no-magic-numbers
    throw new Error();
  }
} // validateArgCount
/**
 * Must be called with one and only one arg. Throws error if invalid arg count.
 *
 * @param {Array} args - Array of keys from the command line args.
 * @throws {Error} - No args or more than one arg.
 */
Must be called with one and only one arg. Throws error if invalid arg count.
@param {Array} args - Array of keys from the command line args.
@throws {Error} - No args or more than one arg.
Must be called with one and only one arg . Throws error if invalid arg count . @param { Array } args - Array of keys from the command line args . @throws { Error } - No args or more than one arg .
function validateArgCount(args) {
  if (args.length !== 1) { 
    throw new Error();
  }
} 
function validateArgCount ( args ) { if ( args . length !== 1 ) { throw new Error ( ) ; } }
Must be called with one and only one arg.
Must be called with one and only one arg .
// eslint-disable-line no-magic-numbers // validateArgCount