Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 3, 2018 18:05
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 parzibyte/b40ea38428515f8b3a0568ac0f663da5 to your computer and use it in GitHub Desktop.
Save parzibyte/b40ea38428515f8b3a0568ac0f663da5 to your computer and use it in GitHub Desktop.
const fiesta = (animal, platillo) =>
(
animal.charAt(animal.length - 1) === platillo.charAt(platillo.length - 1)
&&
animal.charAt(0) === platillo.charAt(0)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment