Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Removed need for checking arguments.length #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fijiwebdesign
Copy link

Calling .apply directly on Date invokes the Date function instead of the constructor. So we bind Date to itself so we can invoke a new Date and apply our arguments

Calling .apply directly on Date invokes the Date function instead of the constructor. So we bind Date to itself so we can invoke a new Date and apply our arguments
@kbaltrinic
Copy link
Owner

Thanks for the update. Its been a long time since I have been in this code so it may take me some time to vet this. Not sure if I even have a valid dev env for this anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants