function makeGreeting(language) {

	return function(firstname, lastname) {


		if (language === 'en') {
			console.log('Hello ' + firstname + ' ' + lastname );
		}

		if (language === 'es') {
			console.log('Hola ' + firstname + ' ' + lastname);
		}
	};
}
// Function Factories (Framework Aside)
Function Factories (Framework Aside)
Function Factories ( Framework Aside )
function makeGreeting(language) {
	return function(firstname, lastname) {
		if (language === 'en') {
			console.log('Hello ' + firstname + ' ' + lastname );
		}
		if (language === 'es') {
			console.log('Hola ' + firstname + ' ' + lastname);
		}
	};
}
function makeGreeting ( language ) { return function ( firstname , lastname ) { if ( language === 'en' ) { console . log ( 'Hello ' + firstname + ' ' + lastname ) ; } if ( language === 'es' ) { console . log ( 'Hola ' + firstname + ' ' + lastname ) ; } } ; }
Function Factories (Framework Aside)
Function Factories ( Framework Aside )