Closed Ajnasz closed 9 years ago
Calling new Date(undefined); produces as a date object, which holds "Invalid date". Working on this object could produce very strange results. Throwing an error in that case may help debugging.
Thanks! I'm inviting you as a contributor. :)
Calling new Date(undefined); produces as a date object, which holds "Invalid date". Working on this object could produce very strange results. Throwing an error in that case may help debugging.