Created
October 2, 2018 11:11
-
-
Save tsh-code/320951e63ad91d3d2cc74441ceff347f 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
function tokenExpired(token, currentDate) { | |
return token.expirationDate < currentDate; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment