The length of a duration in milliseconds. A day is 24 hours. Years, months and weeks have no fixed length, so they give a RangeError.
The length of a duration in milliseconds. A day is 24 hours. Years, months and weeks have no fixed length, so they give a RangeError.