Created
April 20, 2015 09:52
cheking whether the given objects are valid date objects in javascript
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
if(Object.prototype.toString.call(ref.leave.fromDate) === "[object Date]" | |
&& Object.prototype.toString.call(ref.leave.toDate) === "[object Date]") | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment