You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, let me admit that aside from polyfill, code should not modifying the Date data type; however we cannot always choose the standards to which 3rd-party products implement their features.
Having said that, due the fact that date.js makes a copy of the Date data type, modifies it, and then sets Date to that modified copy, it wipes out any changes that are made to Date in the interim. This seems to go against the concept of "do no harm."
The text was updated successfully, but these errors were encountered:
First, let me admit that aside from polyfill, code should not modifying the Date data type; however we cannot always choose the standards to which 3rd-party products implement their features.
Having said that, due the fact that date.js makes a copy of the Date data type, modifies it, and then sets Date to that modified copy, it wipes out any changes that are made to Date in the interim. This seems to go against the concept of "do no harm."
The text was updated successfully, but these errors were encountered: