Created
September 7, 2018 03:04
-
-
Save tail-call/90a2e4ed8ef5386855c14216eb47f78e 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
| // Coll zero padding hack | |
| // See <https://stackoverflow.com/questions/3552461/how-to-format-a-javascript-date#comment52315011_30272803> | |
| (new Array(100)).fill(null).map((_, i) => ("0" + i).slice(-2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment