Last active
February 25, 2018 07:14
-
-
Save vldvel/bdc5cbcdb2fc58823cc304e9705a6b1e 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
if (s.indexOf('PM') > -1) // then do smth with PM | |
else // then do some other thing with AM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment