Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created July 26, 2019 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/68262a51f639ba1f10e820e38b86f8db to your computer and use it in GitHub Desktop.
Save jasongorman/68262a51f639ba1f10e820e38b86f8db to your computer and use it in GitHub Desktop.
search(title, artist){
return this.contents
.filter((cd) =>
cd.matches(title, artist))[0];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment