Created
April 5, 2018 06:11
-
-
Save MarcoWorms/b54dc2d524a2e1c8c40760ce39504caf 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 last = array => array[array.length - 1] | |
const { card, newDeck } = draw(last, deck) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment