storySelect.js
//and return the filtered array of story objects    
and return the filtered array of story objects
and return the filtered array of story objects
function filterStory(genre){
	var getGenre = function(story){
								 	 return story.genre.indexOf(genre) !== -1;
							   };
	return stories.filter(getGenre);
}
function filterStory ( genre ) { var getGenre = function ( story ) { return story . genre . indexOf ( genre ) !== - 1 ; } ; return stories . filter ( getGenre ) ; }
and return the filtered array of story objects
and return the filtered array of story objects