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."
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."