Created
December 24, 2016 17:57
-
-
Save tkraak/dec496b33027c891e4dca9bae6fcfbe3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 validatePIN = pin => /^(\d{4}|\d{6})$/.test(pin); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment