Skip to content

AddDurationToOrSubtractDurationFromPlainYearMonth: Move GetOptionsObject closer to the top #2721

@anba

Description

@anba

AddDurationToOrSubtractDurationFromPlainYearMonth should probably call GetOptionsObject earlier to validate the user-supplied input before performing other user-visible operations. Maybe move it directly before the BalanceTimeDuration call in step 3?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions