Created
April 3, 2018 18:05
-
-
Save parzibyte/b40ea38428515f8b3a0568ac0f663da5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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