Created
December 16, 2019 21:32
-
-
Save bradoyler/3dc3a65b80e605e99dfc03b6f39dd809 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
Object.getOwnPropertyNames(Date.prototype) | |
.filter(name => name.startsWith('to')) | |
.map(method => `${method}: ${(new Date())[method]()}`) |
Author
bradoyler
commented
Dec 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment