Skip to main content
Temporal.ArithmeticOptions.overflow - Temporal - Web documentation
property Temporal.ArithmeticOptions.overflow
Controls handling of out-of-range arithmetic results. If a result is out of range, then `'constrain'` will clamp the result to the allowed range, while `'reject'` will throw a RangeError. The default is `'constrain'`.

Type

"constrain" | "reject"