storySelect.js
//and returns a function we can use to push each genre into the "genre" array.
and returns a function we can use to push each genre into the "genre" array.
and returns a function we can use to push each genre into the " genre " array .
function genreChecker(storyEqivalents){
    return function(){
        storyEqivalents.forEach(function(equivalent){
			data.genres.push(equivalent);
		});
    }
}
function genreChecker ( storyEqivalents ) { return function ( ) { storyEqivalents . forEach ( function ( equivalent ) { data . genres . push ( equivalent ) ; } ) ; } }
and returns a function we can use to push each genre into the "genre" array.
and returns a function we can use to push each genre into the " genre " array .