Skip to content

fix(curriculum): clarify logical operator return values in the math review - #71797

Closed
Sanjay-doppalapudi wants to merge 1 commit into
freeCodeCamp:mainfrom
Sanjay-doppalapudi:clarify-logical-operators
Closed

Sanjay-doppalapudi wants to merge 1 commit into
freeCodeCamp:mainfrom
Sanjay-doppalapudi:clarify-logical-operators

Conversation

@Sanjay-doppalapudi

@Sanjay-doppalapudi Sanjay-doppalapudi commented Nov 26, 2026 •

Copy link
Copy Markdown

Checklist:

The review says that ?? returns a value only when the left operand is null or undefined. For example, 0 ?? 7 returns 0. The revised descriptions explain which operand each of &&, || and ?? returns and when the right operand is evaluated. Verified the return values and short-circuit behavior with Node assertions.

@Sanjay-doppalapudi
Sanjay-doppalapudi requested a review from a team as a code owner November 26, 2026 11:03
@github-actions github-actions Bot added scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. labels Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there,

Thanks for opening this pull request.

The automated checks found some issues:

Checklist: The PR description is missing the required checklist or some of its items are not completed:

  1. The Checklist: heading is present in the PR description.
  2. The checkbox items are ticked (changed from [ ] to [x]).
  3. You have actually completed the items in the checklist.

Please edit your PR description to include the following template with the checklist items completed.

Checklist:

<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [ ] I have read and followed the [contribution guidelines](https://contribute.freecodecamp.org).
- [ ] I have read and followed the [how to open a pull request guide](https://contribute.freecodecamp.org/how-to-open-a-pull-request/).
- [ ] My pull request targets the `main` branch of freeCodeCamp.
- [ ] I have tested these changes either locally on my machine, or GitHub Codespaces.

<!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.-->

Closes #XXXXX

<!-- Feel free to add any additional description of changes below this line -->

Join us in our chat room or our forum if you have any questions or need help with contributing.

@github-actions github-actions Bot removed the deprioritized PR reviews are deprioritized; lacks productive input and ignores codebase best practices. label Nov 26, 2026
@huyenltnguyen

Copy link
Copy Markdown
Member

Hi there, thanks for the PR!

We generally err on the side of caution with curriculum changes. Please open an issue first so it can go through our triage process. Once it's marked as open for contribution, you're welcome to submit a PR reflecting the agreed direction.

We'll close this PR to avoid it sitting idle in the queue. Thanks for understanding!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants