examples/sandbox.js
function randomEnglishWord (length) {
	var consonants = 'bcdfghjklmnpqrstvwxyz',
		vowels = 'aeiou',
		i, word='',
		consonants = consonants.split(''),
		vowels = vowels.split('');
	for (i=0;i<length/2;i++) {
		var randConsonant = consonants[randomNumber(consonants.length-1)],
			randVowel = vowels[randomNumber(vowels.length-1)];
		//word += (i===0) ? randConsonant.toUpperCase() : randConsonant;
		word += (i===0) ? randConsonant : randConsonant;
		word += i*2<length-1 ? randVowel : '';
	}
	return word;
}
function randomEnglishWord (length) {
	var consonants = 'bcdfghjklmnpqrstvwxyz',
		vowels = 'aeiou',
		i, word='',
		consonants = consonants.split(''),
		vowels = vowels.split('');
	for (i=0;i<length/2;i++) {
		var randConsonant = consonants[randomNumber(consonants.length-1)],
			randVowel = vowels[randomNumber(vowels.length-1)];
		//word += (i===0) ? randConsonant.toUpperCase() : randConsonant;
		word += (i===0) ? randConsonant : randConsonant;
		word += i*2<length-1 ? randVowel : '';
	}
	return word;
}
function randomEnglishWord ( length ) { var consonants = 'bcdfghjklmnpqrstvwxyz' , vowels = 'aeiou' , i , word = '' , consonants = consonants . split ( '' ) , vowels = vowels . split ( '' ) ; for ( i = 0 ; i < length / 2 ; i ++ ) { var randConsonant = consonants [ randomNumber ( consonants . length - 1 ) ] , randVowel = vowels [ randomNumber ( vowels . length - 1 ) ] ; //word += (i===0) ? randConsonant.toUpperCase() : randConsonant; word += ( i === 0 ) ? randConsonant : randConsonant ; word += i * 2 < length - 1 ? randVowel : '' ; } return word ; }
people name, term
people name term