Last active
February 24, 2018 19:12
-
-
Save vldvel/8e8d8fa0f1484314fb49e9d8ec09eb39 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 arr = s.slice(0,8).split(':'); | |
// '00:00:00AM' -> ['00', '00', '00'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment