Consider throwing errors on date creation with invalid input.
andrewplummer opened this issue · comments
Would like to at least consider Date.create
throwing errors on invalid input and opening this to discussion.
Pros:
Simpler handling through normal control flow.
Cons:
Not consistent with new Date
API.
Others?