https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Current engines supports Date
API, that:
Date
instances are mutable. It's bad practivce for value type.- It has bloat inconsistent API.
- It represents only time moments, but doesn't support other time types declared in ISO8601.
- It doesn't support parsing and serializing by custom pattern.