Returns the last day of the week containing temporal. Defaults to ISO weeks (Sunday as the last day). For time-bearing inputs, time is snapped to end of day unless { preserveTime: true }.
temporal
{ preserveTime: true }
Optional
Returns the last day of the week containing
temporal. Defaults to ISO weeks (Sunday as the last day). For time-bearing inputs, time is snapped to end of day unless{ preserveTime: true }.