Created
January 20, 2016 15:00
-
-
Save hirokiky/dee014a1ee5374352abe to your computer and use it in GitHub Desktop.
moment.js and null
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
> var moment = require('moment') | |
undefined | |
> null < moment('1970-01-01') | |
false | |
> null < moment('1970-01-02') | |
true | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment