index.js
function getWords(words) {
	const defaults = loadJson('./words.json');
	const extras = typeof words === 'string' ? loadJson(words) : words;
	return defaults.concat(extras);
}
function getWords(words) {
	const defaults = loadJson('./words.json');
	const extras = typeof words === 'string' ? loadJson(words) : words;
	return defaults.concat(extras);
}
function getWords ( words ) { const defaults = loadJson ( './words.json' ) ; const extras = typeof words === 'string' ? loadJson ( words ) : words ; return defaults . concat ( extras ) ; }
Load all default words joined with additional worsd from a config file

@param {string|string[]} words
@return {string[]}
Load all default words joined with additional worsd from a config file