Skip to content

feat: add nullish coalescing operator support #3497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ikemHood
Copy link

feat: add nullish coalescing operator support

  • Introduced the nullish coalescing operator (??) in the expression parser and operator definitions.
  • Updated the factories to export the new operator and its documentation.
  • Added comprehensive unit tests to validate the behavior of the nullish coalescing operator, including handling of basic cases, variable scopes, and precedence with other operators.

closes #3353

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support nullish coalescing operator ?? in mathjs expression language
1 participant